You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
NT trystmt -> try_except to match AST
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# From PyPy 2.7 argparse.py
|
||||
# PyPY reduces branches as a result of the return statement
|
||||
# So we need a new rules for trystmt and try_middle which we
|
||||
# suffix with _pypy, e.g. trystmt_pypy, and try_middle_pypy
|
||||
# So we need a new rules for try_except and try_middle which we
|
||||
# suffix with _pypy, e.g. try_except_pypy, and try_middle_pypy
|
||||
def call(self, string):
|
||||
try:
|
||||
return open(string, self, self._bufsize)
|
||||
|
Reference in New Issue
Block a user