summaryrefslogtreecommitdiffstats
path: root/Doc/library/stdtypes.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-23 00:53:05 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-23 00:53:05 (GMT)
commitaaa4baf4e596d76e551becda368df33946f40c07 (patch)
treee62b8dd327541e3967ab8fbe859c935b2596819a /Doc/library/stdtypes.rst
parent8da85a173a23e9b6fbbbd2511bc713d162fcb801 (diff)
downloadcpython-aaa4baf4e596d76e551becda368df33946f40c07.zip
cpython-aaa4baf4e596d76e551becda368df33946f40c07.tar.gz
cpython-aaa4baf4e596d76e551becda368df33946f40c07.tar.bz2
Issue #27370: Use t for an iterable in mutable sequence ops
Diffstat (limited to 'Doc/library/stdtypes.rst')
-rw-r--r--Doc/library/stdtypes.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 7cecfef..5153929 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1670,8 +1670,8 @@ an arbitrary object):
| ``s.append(x)`` | same as ``s[len(s):len(s)] = | \(2) |
| | [x]`` | |
+------------------------------+--------------------------------+---------------------+
-| ``s.extend(x)`` or | for the most part the same as | \(3) |
-| ``s += t`` | ``s[len(s):len(s)] = x`` | |
+| ``s.extend(t)`` or | for the most part the same as | \(3) |
+| ``s += t`` | ``s[len(s):len(s)] = t`` | |
+------------------------------+--------------------------------+---------------------+
| ``s *= n`` | updates *s* with its contents | \(11) |
| | repeated *n* times | |
@@ -1708,7 +1708,7 @@ Notes:
this misfeature has been deprecated since Python 1.4.
(3)
- *x* can be any iterable object.
+ *t* can be any iterable object.
(4)
Raises :exc:`ValueError` when *x* is not found in *s*. When a negative index is