You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Messed up API compatibility
This commit is contained in:
@@ -1735,8 +1735,12 @@ def deparse_code(version, co, out=StringIO(), showasm=False, showast=False,
|
|||||||
'ast': showast,
|
'ast': showast,
|
||||||
'grammar': showgrammar
|
'grammar': showgrammar
|
||||||
}
|
}
|
||||||
return code_deparse(co, out, version, debug_opts, code_objects, compile_mode,
|
return code_deparse(co, out,
|
||||||
is_pypy, walker)
|
version=version,
|
||||||
|
debug_opts=debug_opts,
|
||||||
|
code_objects=code_objects,
|
||||||
|
compile_mode=compile_mode,
|
||||||
|
is_pypy=is_pypy, walker=walker)
|
||||||
|
|
||||||
def code_deparse(co, out=StringIO(), version=None, is_pypy=None,
|
def code_deparse(co, out=StringIO(), version=None, is_pypy=None,
|
||||||
debug_opts=DEFAULT_DEBUG_OPTS,
|
debug_opts=DEFAULT_DEBUG_OPTS,
|
||||||
|
@@ -2462,8 +2462,12 @@ def deparse_code(version, co, out=sys.stdout, showasm=None, showast=False,
|
|||||||
'ast': showast,
|
'ast': showast,
|
||||||
'grammar': showgrammar
|
'grammar': showgrammar
|
||||||
}
|
}
|
||||||
return code_deparse(co, out, version, debug_opts, code_objects, compile_mode,
|
return code_deparse(co, out,
|
||||||
is_pypy, walker)
|
version=version,
|
||||||
|
debug_opts=debug_opts,
|
||||||
|
code_objects=code_objects,
|
||||||
|
compile_mode=compile_mode,
|
||||||
|
is_pypy=is_pypy, walker=walker)
|
||||||
|
|
||||||
def code_deparse(co, out=sys.stdout, version=None, debug_opts=DEFAULT_DEBUG_OPTS,
|
def code_deparse(co, out=sys.stdout, version=None, debug_opts=DEFAULT_DEBUG_OPTS,
|
||||||
code_objects={}, compile_mode='exec', is_pypy=False, walker=SourceWalker):
|
code_objects={}, compile_mode='exec', is_pypy=False, walker=SourceWalker):
|
||||||
|
Reference in New Issue
Block a user