Small changes....

* __pkginfo__.py: Need spark parser 1.6.1 for corrected remove_rules() fn
* parser36.py: remove replaced Python3 rules
* scanner3.py: corrected comment. Thanks to moagstar here.
*
This commit is contained in:
rocky
2017-05-17 23:31:56 -04:00
parent 52b1f4d2b6
commit 6991a637a2
3 changed files with 25 additions and 2 deletions

View File

@@ -275,7 +275,7 @@ class Scanner3(Scanner):
pass
elif opname in ('MAKE_FUNCTION', 'MAKE_CLOSURE'):
if self.version >= 3.6:
# 3.6+ doesn't have MAKE_CLOSURE, so opname == 'MAKE_CLOSURE'
# 3.6+ doesn't have MAKE_CLOSURE, so opname == 'MAKE_FUNCTION'
flags = inst.argval
opname = 'MAKE_FUNCTION_%d' % (flags)
attr = []