Python 3.5 tolerance

This commit is contained in:
rocky
2019-11-10 12:04:21 -05:00
parent 373916f57c
commit 2da5a5649f

View File

@@ -1763,7 +1763,7 @@ class SourceWalker(GenericASTTraversal, object):
line_number = self.line_number
sep = ''
opname = node[-1].kind
if self.is_pypy and self.version >= 3.6:
if self.is_pypy and self.version >= 3.5:
if opname.startswith('BUILD_CONST_KEY_MAP'):
keys = node[-2].attr
# FIXME: DRY this and the above