One more LOAD_CONST->LOAD_STR artifact

This commit is contained in:
rocky
2019-06-09 11:10:14 -04:00
parent ab696b316a
commit 354796fffd

View File

@@ -2122,7 +2122,7 @@ class SourceWalker(GenericASTTraversal, object):
# which are not simple classes like the < 3 case.
try:
if (first_stmt[0] == 'assign' and
first_stmt[0][0][0] == 'LOAD_CONST' and
first_stmt[0][0][0] == 'LOAD_STR' and
first_stmt[0][1] == 'store' and
first_stmt[0][1][0] == Token('STORE_NAME', pattr='__qualname__')):
have_qualname = True