You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Supoer multiple parsers, specifically for Python2 and Python3. In the
process some OO cleanup and some global variable hacks removed.
This commit is contained in:
@@ -29,7 +29,7 @@ import uncompyle6.scanner as scan
|
||||
|
||||
class Scanner34(scan.Scanner):
|
||||
def __init__(self):
|
||||
self.Token = scan.Scanner.__init__(self, 3.4) # check
|
||||
scan.Scanner.__init__(self, 3.4) # check
|
||||
|
||||
def disassemble(self, co):
|
||||
fn = self.disassemble_built_in if PYTHON_VERSION == 3.4 \
|
||||
|
Reference in New Issue
Block a user