mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-10 07:41:51 +08:00
fix a little error that caused the completion not to work with if/try statements
This commit is contained in:
@@ -27,3 +27,19 @@ def normalfunc():
|
||||
|
||||
##? ['real']
|
||||
normalfunc().real
|
||||
|
||||
|
||||
# first part not complete (raised errors)
|
||||
if a
|
||||
a
|
||||
else:
|
||||
#? ['AttributeError']
|
||||
AttributeError
|
||||
|
||||
try
|
||||
#? ['AttributeError']
|
||||
except AttributeError
|
||||
pass
|
||||
finally:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user