From aaa4baf4e596d76e551becda368df33946f40c07 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Thu, 23 Jun 2016 00:53:05 +0000 Subject: [PATCH] Issue #27370: Use t for an iterable in mutable sequence ops --- Doc/library/stdtypes.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 7cecfefceae..51539294b85 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