You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Fix a number of small bugs...
test_peynv.py: make Python3 compatible marsh.py: remove duplicate test scanner3.py: fix opcode typo
This commit is contained in:
@@ -251,8 +251,6 @@ def load_code_internal(fp, magic_int, bytes_for_s=False,
|
||||
strsize = unpack('i', fp.read(4))[0]
|
||||
unicodestring = fp.read(strsize)
|
||||
return unicodestring.decode('utf-8')
|
||||
elif marshalType in ['<', '>']:
|
||||
raise KeyError(marshalType)
|
||||
elif marshalType == '?':
|
||||
# unknown
|
||||
raise KeyError(marshalType)
|
||||
|
Reference in New Issue
Block a user