mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
46 lines
497 B
Python
46 lines
497 B
Python
def openbrace():
|
|
asdf = 3
|
|
asdf
|
|
asdf(
|
|
#? ['real']
|
|
asdf.real
|
|
return 1
|
|
|
|
#? ['real']
|
|
openbrace().real
|
|
|
|
blub([
|
|
#? ['real']
|
|
openbrace().real
|
|
|
|
def indentfault():
|
|
asd(
|
|
indentback
|
|
|
|
#? []
|
|
indentfault().
|
|
|
|
def openbrace2():
|
|
asd(
|
|
def normalfunc():
|
|
return 1
|
|
|
|
##? ['real']
|
|
normalfunc().real
|
|
|
|
|
|
# first part not complete (raised errors)
|
|
if a
|
|
a
|
|
else:
|
|
#? ['AttributeError']
|
|
AttributeError
|
|
|
|
try
|
|
#? ['AttributeError']
|
|
except AttributeError
|
|
pass
|
|
finally:
|
|
pass
|
|
|