mirror of
https://github.com/github/codeql.git
synced 2025-12-25 05:06:34 +01:00
11 lines
180 B
Python
11 lines
180 B
Python
|
|
|
|
def incorrect_except_order(val):
|
|
try:
|
|
val.attr
|
|
except Exception:
|
|
print ("Exception")
|
|
except AttributeError:
|
|
print ("AttributeError")
|
|
|