forked from VimPlug/jedi
jedi should be able to detect exceptions even in except X: statements
This commit is contained in:
@@ -50,6 +50,13 @@ try:
|
||||
str.not_existing
|
||||
except [AttributeError]: pass
|
||||
|
||||
# Should be able to detect errors in except statement as well.
|
||||
try:
|
||||
pass
|
||||
#! 7 name-error
|
||||
except Undefined:
|
||||
pass
|
||||
|
||||
|
||||
# -----------------
|
||||
# kind of similar: hasattr
|
||||
|
||||
Reference in New Issue
Block a user