Merge branch 'master' into python-3.3-to-3.5

This commit is contained in:
rocky
2022-09-30 02:47:02 -04:00
10 changed files with 117 additions and 29 deletions

View File

@@ -30,7 +30,7 @@ import re
from uncompyle6.scanners.tok import Token
from uncompyle6.parser import PythonParser, PythonParserSingle, nop_func
from uncompyle6.parsers.reducecheck import (
and_check,
and_invalid,
except_handler_else,
ifelsestmt,
ifstmt,
@@ -1581,7 +1581,7 @@ class Python3Parser(PythonParser):
}
if self.version == (3, 6):
self.reduce_check_table["and"] = and_check
self.reduce_check_table["and"] = and_invalid
self.check_reduce["and"] = "AST"
self.check_reduce["annotate_tuple"] = "noAST"