You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Remove accidental schmutz. Try using pattr on 3.4 to get fn names
This commit is contained in:
@@ -925,10 +925,7 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
# LOAD_CONST code object ..
|
||||
# LOAD_CONST 'x0'
|
||||
# MAKE_FUNCTION ..
|
||||
if self.version >= 3.4:
|
||||
func_name = node[-2].attr
|
||||
code_index = -3
|
||||
elif self.version == 3.3:
|
||||
if self.version >= 3.3:
|
||||
func_name = node[-2].pattr
|
||||
code_index = -3
|
||||
else:
|
||||
|
Reference in New Issue
Block a user