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

This commit is contained in:
rocky
2024-02-25 06:09:10 -05:00
11 changed files with 35 additions and 37 deletions

View File

@@ -278,7 +278,7 @@ class NonterminalActions:
elif elem.optype == "const" and not isinstance(elem.attr, str):
value = elem.attr
else:
value = "%s" % repr(elem.pattr)
value = "%s" % repr(elem.attr)
else:
assert elem.kind == "ADD_VALUE_VAR"
value = "%s" % elem.pattr