You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
disas.py: track load_module API change
opcode_23.py: make it more like opcode_27.py
This commit is contained in:
@@ -78,7 +78,7 @@ def disassemble_file(filename, outstream=None):
|
||||
try to find the corresponding compiled object.
|
||||
"""
|
||||
filename = check_object_path(filename)
|
||||
version, co = uncompyle6.load_module(filename)
|
||||
version, magic_int, co = uncompyle6.load_module(filename)
|
||||
if type(co) == list:
|
||||
for con in co:
|
||||
disco(version, con, outstream)
|
||||
|
Reference in New Issue
Block a user