You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
More accurate ranges of try blocks in 3.x
This commit is contained in:
16
test/simple_source/bug33/01_try_except.py
Normal file
16
test/simple_source/bug33/01_try_except.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# From 3.3.5 _osx_support.py
|
||||
def _get_system_version():
|
||||
if __file__ is None:
|
||||
try:
|
||||
m = 5
|
||||
except IOError:
|
||||
pass
|
||||
else:
|
||||
try:
|
||||
m = 10
|
||||
finally:
|
||||
m = 15
|
||||
if m is not None:
|
||||
m = 20
|
||||
|
||||
return m
|
Reference in New Issue
Block a user