LOAD_CONST->LOAD_STR bugs and 3.4 kwargsonly

This commit is contained in:
rocky
2019-06-09 02:18:21 -04:00
parent 622d6f849c
commit c8fc6a704c
7 changed files with 7 additions and 13 deletions

View File

@@ -88,7 +88,7 @@ def customize_for_version3(self, version):
code_node = build_class[1][0]
class_name = code_node.attr.co_name
else:
class_name = node[1][0].pattr
class_name = node[1][0].attr
build_class = node[0]
assert 'mkfunc' == build_class[1]