python 2.6 grammar test tweak

This commit is contained in:
rocky
2018-04-16 13:00:30 -04:00
parent 245deb0931
commit 6c6d62edb8
3 changed files with 8 additions and 5 deletions

View File

@@ -595,11 +595,6 @@ class Python3Parser(PythonParser):
return_lambda LAMBDA_MARKER
""", nop_func)
if self.version <= 3.6:
call_function1 = 'CALL_FUNCTION_1'
else:
call_function1 = 'CALL_METHOD_1'
has_get_iter_call_function1 = False
n = len(tokens)
max_branches = 0