mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-09 14:35:47 +08:00
fix except: usage in analysis
This commit is contained in:
1 parent
9348d4bb6c
commit
c1181a0459
2 files changed
+13
No files matched your search
@@ -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