File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -326,71 +326,6 @@ the original TOS1.
326326
327327 Implements in-place ``TOS = TOS1 | TOS ``.
328328
329- The slice opcodes take up to three parameters.
330-
331-
332- .. opcode :: SLICE+0 ()
333-
334- Implements ``TOS = TOS[:] ``.
335-
336-
337- .. opcode :: SLICE+1 ()
338-
339- Implements ``TOS = TOS1[TOS:] ``.
340-
341-
342- .. opcode :: SLICE+2 ()
343-
344- Implements ``TOS = TOS1[:TOS] ``.
345-
346-
347- .. opcode :: SLICE+3 ()
348-
349- Implements ``TOS = TOS2[TOS1:TOS] ``.
350-
351- Slice assignment needs even an additional parameter. As any statement, they put
352- nothing on the stack.
353-
354-
355- .. opcode :: STORE_SLICE+0 ()
356-
357- Implements ``TOS[:] = TOS1 ``.
358-
359-
360- .. opcode :: STORE_SLICE+1 ()
361-
362- Implements ``TOS1[TOS:] = TOS2 ``.
363-
364-
365- .. opcode :: STORE_SLICE+2 ()
366-
367- Implements ``TOS1[:TOS] = TOS2 ``.
368-
369-
370- .. opcode :: STORE_SLICE+3 ()
371-
372- Implements ``TOS2[TOS1:TOS] = TOS3 ``.
373-
374-
375- .. opcode :: DELETE_SLICE+0 ()
376-
377- Implements ``del TOS[:] ``.
378-
379-
380- .. opcode :: DELETE_SLICE+1 ()
381-
382- Implements ``del TOS1[TOS:] ``.
383-
384-
385- .. opcode :: DELETE_SLICE+2 ()
386-
387- Implements ``del TOS1[:TOS] ``.
388-
389-
390- .. opcode :: DELETE_SLICE+3 ()
391-
392- Implements ``del TOS2[TOS1:TOS] ``.
393-
394329
395330.. opcode :: STORE_SUBSCR ()
396331
You can’t perform that action at this time.
0 commit comments