mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
22 lines
273 B
Python
22 lines
273 B
Python
for a in [1,2]:
|
|
#? ['real']
|
|
a.real
|
|
|
|
with open('') as f:
|
|
#? ['closed']
|
|
f.closed
|
|
|
|
with open('') as f1, open('') as f2:
|
|
#? ['closed']
|
|
f1.closed
|
|
#? ['closed']
|
|
f2.closed
|
|
|
|
|
|
def global_define():
|
|
#global glob
|
|
glob = 3
|
|
|
|
#? ['real']
|
|
glob.real
|