mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-21 21:37:22 +08:00
possible direction of branch checks for name resolution.
This commit is contained in:
1 parent
483f5c14ee
commit
f1711f8f9c
7 files changed
+45
-9
No files matched your search
@@ -23,18 +23,18 @@ a(0):.
|
||||
# if/else/elif
|
||||
# -----------------
|
||||
|
||||
if 1:
|
||||
if (random.choice([0, 1])):
|
||||
1
|
||||
elif(3):
|
||||
elif(random.choice([0, 1])):
|
||||
a = 3
|
||||
else:
|
||||
a = ''
|
||||
#? int() str()
|
||||
a
|
||||
def func():
|
||||
if 1:
|
||||
if random.choice([0, 1]):
|
||||
1
|
||||
elif(3):
|
||||
elif(random.choice([0, 1])):
|
||||
a = 3
|
||||
else:
|
||||
a = ''
|
||||
|
||||
Reference in new issue
Block a user