forked from VimPlug/jedi
fix except: usage in analysis
This commit is contained in:
@@ -57,6 +57,15 @@ try:
|
||||
except Undefined:
|
||||
pass
|
||||
|
||||
# -----------------
|
||||
# inheritance
|
||||
# -----------------
|
||||
|
||||
# should catch everything
|
||||
try:
|
||||
undefined
|
||||
except:
|
||||
pass
|
||||
|
||||
# -----------------
|
||||
# kind of similar: hasattr
|
||||
|
||||
Reference in New Issue
Block a user