Better "try" vs. "try"/"else" disambiguation ...

via reduction check that was originally only in 2.7
This commit is contained in:
rocky
2020-01-09 22:37:02 -05:00
parent 7bcebf8656
commit fedd5e0ba5
6 changed files with 26 additions and 28 deletions

View File

@@ -443,7 +443,7 @@ def customize_for_version3(self, version):
"tryelsestmtl3": (
"%|try:\n%+%c%-%c%|else:\n%+%c%-",
(1, "suite_stmts_opt"),
(3, "except_handler"),
(3, "except_handler_else"),
(5, "else_suitel"),
),
"LOAD_CLASSDEREF": ("%{pattr}",),