1
0
forked from VimPlug/jedi

Better context completions for finally/except/else/elif

Fixes #837
This commit is contained in:
Dave Halter
2017-09-15 00:48:56 +02:00
parent e389c61377
commit 63edbdcc5b
3 changed files with 67 additions and 0 deletions

View File

@@ -24,3 +24,27 @@ class MyClass:
tuple,
):
return 1
if x:
pass
#? ['else']
else
try:
pass
#? ['except', 'Exception']
except
try:
pass
#? 6 ['except', 'Exception']
except AttributeError:
pass
#? ['finally']
finally
for x in y:
pass
#? ['else']
else