Remove accidental schmutz. Try using pattr on 3.4 to get fn names

This commit is contained in:
rocky
2015-12-30 20:09:33 -05:00
parent d5b023aec4
commit 21e51004ae
2 changed files with 2 additions and 9 deletions

View File

@@ -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: