NT augassign -> aug_assign to match AST

This commit is contained in:
rocky
2017-11-29 10:51:38 -05:00
parent 7775bdabd5
commit 11e2637eeb
9 changed files with 27 additions and 26 deletions

View File

@@ -26,11 +26,11 @@ l[1][2][3] = 7
l[1][2][3] *= 3;
# Python 2.x
# augassign1 ::= expr expr inplace_op ROT_TWO STORE_SLICE+0
# aug_assign1 ::= expr expr inplace_op ROT_TWO STORE_SLICE+0
l[:] += [9]; # print l
# Python 2.x
# augassign1 ::= expr expr inplace_op ROT_THREE STORE_SLICE+2
# aug_assign1 ::= expr expr inplace_op ROT_THREE STORE_SLICE+2
l[:2] += [9]; # print l