diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-31 04:10:28 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-31 04:10:28 (GMT) |
commit | 639a8ffcb7bcdadc3f0dd6e70cbfdce134da6c7f (patch) | |
tree | 7502ff92caa34c3601f184ec6ef9d61eb09b4db5 /Doc | |
parent | 71d4a34c3942a42bbc6aff3544bb79bdf0f5c5cc (diff) | |
download | cpython-639a8ffcb7bcdadc3f0dd6e70cbfdce134da6c7f.zip cpython-639a8ffcb7bcdadc3f0dd6e70cbfdce134da6c7f.tar.gz cpython-639a8ffcb7bcdadc3f0dd6e70cbfdce134da6c7f.tar.bz2 |
Thomas removed all the SLICE op codes
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/dis.rst | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 7ce864d..2a14263 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -326,71 +326,6 @@ the original TOS1. Implements in-place ``TOS = TOS1 | TOS``. -The slice opcodes take up to three parameters. - - -.. opcode:: SLICE+0 () - - Implements ``TOS = TOS[:]``. - - -.. opcode:: SLICE+1 () - - Implements ``TOS = TOS1[TOS:]``. - - -.. opcode:: SLICE+2 () - - Implements ``TOS = TOS1[:TOS]``. - - -.. opcode:: SLICE+3 () - - Implements ``TOS = TOS2[TOS1:TOS]``. - -Slice assignment needs even an additional parameter. As any statement, they put -nothing on the stack. - - -.. opcode:: STORE_SLICE+0 () - - Implements ``TOS[:] = TOS1``. - - -.. opcode:: STORE_SLICE+1 () - - Implements ``TOS1[TOS:] = TOS2``. - - -.. opcode:: STORE_SLICE+2 () - - Implements ``TOS1[:TOS] = TOS2``. - - -.. opcode:: STORE_SLICE+3 () - - Implements ``TOS2[TOS1:TOS] = TOS3``. - - -.. opcode:: DELETE_SLICE+0 () - - Implements ``del TOS[:]``. - - -.. opcode:: DELETE_SLICE+1 () - - Implements ``del TOS1[TOS:]``. - - -.. opcode:: DELETE_SLICE+2 () - - Implements ``del TOS1[:TOS]``. - - -.. opcode:: DELETE_SLICE+3 () - - Implements ``del TOS2[TOS1:TOS]``. - .. opcode:: STORE_SUBSCR () |