mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-02-20 05:02:26 +00:00
Remove accidental schmutz. Try using pattr on 3.4 to get fn names
This commit is contained in:
parent
d5b023aec4
commit
21e51004ae
@ -404,12 +404,8 @@ class Python3Parser(PythonParser):
|
||||
testfalse ::= expr jmp_false
|
||||
testtrue ::= expr jmp_true
|
||||
|
||||
come_froms :: = COME_FROM COME_FROM
|
||||
come_froms :: = COME_FROM
|
||||
|
||||
|
||||
_ifstmts_jump ::= return_if_stmts
|
||||
o _ifstmts_jump ::= c_stmts_opt JUMP_FORWARD _come_from _come_from
|
||||
_ifstmts_jump ::= c_stmts_opt JUMP_FORWARD _come_from _come_from
|
||||
|
||||
iflaststmt ::= testexpr c_stmts_opt JUMP_ABSOLUTE
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user