diff options
author | Thomas Wouters <thomas@python.org> | 2000-08-24 20:14:10 +0000 |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-08-24 20:14:10 +0000 |
commit | 104a7bcc28f96c6192815e82971d660c9910c16b (patch) | |
tree | 9154c2e6b47cc4721c648457e7762e804ca97e2e /Lib/dis.py | |
parent | 434d0828d81855692d45c3fdc0905a67c17d83ba (diff) | |
download | cpython-git-104a7bcc28f96c6192815e82971d660c9910c16b.tar.gz |
Support for augmented assignment in the UserList, UserDict, UserString and
rfc822 (Addresslist) modules. Also a preliminary testcase for augmented
assignment, which should actually be merged with the test_class testcase I
added last week.
Diffstat (limited to 'Lib/dis.py')
-rw-r--r-- | Lib/dis.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Lib/dis.py b/Lib/dis.py index 9fc9d30059..713d7aa682 100644 --- a/Lib/dis.py +++ b/Lib/dis.py @@ -182,6 +182,11 @@ def_op('DELETE_SLICE+1', 51) def_op('DELETE_SLICE+2', 52) def_op('DELETE_SLICE+3', 53) +def_op('INPLACE_ADD', 55) +def_op('INPLACE_SUBTRACT', 56) +def_op('INPLACE_MULTIPLY', 57) +def_op('INPLACE_DIVIDE', 58) +def_op('INPLACE_MODULO', 59) def_op('STORE_SUBSCR', 60) def_op('DELETE_SUBSCR', 61) @@ -190,13 +195,18 @@ def_op('BINARY_RSHIFT', 63) def_op('BINARY_AND', 64) def_op('BINARY_XOR', 65) def_op('BINARY_OR', 66) +def_op('INPLACE_POWER', 67) def_op('PRINT_EXPR', 70) def_op('PRINT_ITEM', 71) def_op('PRINT_NEWLINE', 72) def_op('PRINT_ITEM_TO', 73) def_op('PRINT_NEWLINE_TO', 74) - +def_op('INPLACE_LSHIFT', 75) +def_op('INPLACE_RSHIFT', 76) +def_op('INPLACE_AND', 77) +def_op('INPLACE_XOR', 78) +def_op('INPLACE_OR', 79) def_op('BREAK_LOOP', 80) def_op('LOAD_LOCALS', 82) |