Merge branch 'master' into python-2.4

This commit is contained in:
rocky
2020-01-13 11:25:59 -05:00
20 changed files with 988 additions and 636 deletions

View File

@@ -353,6 +353,13 @@ TABLE_DIRECT = {
'print_nl_to': ( '%|print >> %c\n', 0 ),
'print_to_items': ( '%C', (0, 2, ', ') ),
# This is only generated by transform
# it is a string at the beginning of a function that is *not* a docstring
# 3.7 test_fstring.py tests for this kind of crap.
# For compatibility with older Python, we'll use "%" instead of
# a format string.
"string_at_beginning": ( '%|"%%s" %% %c\n', 0),
'call_stmt': ( '%|%p\n', (0, 200)),
'break': ( '%|break\n', ),
'continue': ( '%|continue\n', ),