This repository was archived by the owner on Jul 2, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -214,9 +214,9 @@ Mutable sequence types
214214| ``s.append(x)`` | appends *x* to the end of the sequence; the same as |
215215| | ``s[len(s):len(s)] = [x]`` |
216216+--------------------+--------------------------------------------------------+
217- | ``s.clear()`` | removes all items from *s* (``del s[:]``)[#new]_ |
217+ | ``s.clear()`` | removes all items from *s* (``del s[:]``) [#py33]_ |
218218+--------------------+--------------------------------------------------------+
219- | ``s.copy()`` | creates a shallow copy of *s* (``s[:]``)[#new]_ |
219+ | ``s.copy()`` | creates a shallow copy of *s* (``s[:]``) [#py33]_ |
220220+--------------------+--------------------------------------------------------+
221221| ``s.extend(t)`` | extends *s* with the contents of *t* |
222222| ``s += t`` | |
@@ -232,8 +232,8 @@ Mutable sequence types
232232| ``s.reverse()`` | reverses the items of *s* in place |
233233+--------------------+--------------------------------------------------------+
234234
235- .. [#] *t* must have the same length as the slice it is replacing
236- .. [#new ] new in Python version 3.3
235+ .. [#] *t* must have the same length as the slice it is replacing
236+ .. [#py33 ] new in Python version 3.3
237237
238238Text sequence type
239239==================
You can’t perform that action at this time.
0 commit comments