Merge branch 'master' into python-2.4

This commit is contained in:
rocky
2018-12-10 06:40:41 -05:00
2 changed files with 6 additions and 0 deletions

View File

@@ -108,6 +108,9 @@ TABLE_DIRECT_FRAGMENT = {
'pass': ( '%|%rpass\n', ),
'raise_stmt0': ( '%|%rraise\n', ),
'import': ( '%|import %c%x\n', 2, (2, (0, 1)), ),
'import_cont': ( ', %c%x', (2, 'alias'), (2, (0, 1)), ),
'import_from': ( '%|from %[2]{pattr}%x import %c\n',
(2, (0, 1)), (3, 'importlist'), ),
'importfrom': ( '%|from %[2]{pattr}%x import %c\n', (2, (0, 1)), 3),
# FIXME only in <= 2.4