Syntax error typo

This commit is contained in:
rocky
2015-12-29 17:35:49 -05:00
parent 16af79f042
commit e17d94f28f

View File

@@ -98,7 +98,7 @@ class Scanner34(scan3.Scanner3):
# other than LOAD_CONST, but we'll start out with just this for now.
if opname in ['LOAD_CONST']:
const = inst.argval
if hasattr(const, 'co_name')):
if hasattr(const, 'co_name'):
if const.co_name == '<lambda>':
opname = 'LOAD_LAMBDA'
elif const.co_name == '<genexpr>':