You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Python 3.4: MAKE_FUNCTION starts to work.
This commit is contained in:
@@ -41,10 +41,10 @@ class Scanner34(scan.Scanner):
|
||||
arg = bytecode[pos+1] + bytecode[pos+2] * 256
|
||||
return arg
|
||||
|
||||
def disassemble(self, co):
|
||||
def disassemble(self, co, classname=None):
|
||||
fn = self.disassemble_built_in if PYTHON_VERSION == 3.4 \
|
||||
else self.disassemble_cross_version
|
||||
return fn(co)
|
||||
return fn(co, classname)
|
||||
|
||||
def disassemble_built_in(self, co, classname=None):
|
||||
# Container for tokens
|
||||
|
Reference in New Issue
Block a user