You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
Fix Python 3.x pringing superclasses...
class Description: not class Description("Description"). Introduced in not catching LOAD_CONST->LOAD_STR change
This commit is contained in:
@@ -1630,7 +1630,7 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
pass
|
||||
pass
|
||||
else:
|
||||
if self.version >= 3.6 and node[0] == "LOAD_CONST":
|
||||
if node[0] == "LOAD_STR":
|
||||
return
|
||||
value = self.traverse(node[0])
|
||||
self.write("(")
|
||||
|
Reference in New Issue
Block a user