You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
More Python3 compatability. Remove duplicate disassembly code and
get it from Python's standard library instead.
This commit is contained in:
@@ -100,7 +100,7 @@ def uncompyle(version, co, out=None, showasm=0, showast=0):
|
||||
file=__real_out)
|
||||
# diff scanner
|
||||
if version == 2.7:
|
||||
import scanner27 as scan
|
||||
import uncompyle6.scanner27 as scan
|
||||
scanner = scan.Scanner27()
|
||||
elif version == 2.6:
|
||||
import scanner26 as scan
|
||||
|
Reference in New Issue
Block a user