You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
10 lines
237 B
Python
10 lines
237 B
Python
# 2.6.9 cgi.py
|
|
# Bug in 2.6.9 was not detecting jump out of except from ValueError
|
|
def __getitem__(v):
|
|
if v:
|
|
try: return v
|
|
except ValueError:
|
|
try: return v
|
|
except ValueError: pass
|
|
return v
|