]> granicus.if.org Git - python/commitdiff
#20063: Remove inaccurate/confusing statement about support of 'pop' method.
authorR David Murray <rdmurray@bitdance.com>
Thu, 26 Dec 2013 03:26:59 +0000 (22:26 -0500)
committerR David Murray <rdmurray@bitdance.com>
Thu, 26 Dec 2013 03:26:59 +0000 (22:26 -0500)
Patch by Gennadiy Zlobin.

Doc/library/stdtypes.rst

index accf3824815bc677beb1f53e4299219c78e6895d..442a21447292c3140fa388a0b39dcb707186d2b4 100644 (file)
@@ -1668,9 +1668,8 @@ Notes:
       Previously, all negative indices were truncated to zero.
 
 (6)
-   The :meth:`pop` method is only supported by the list and array types.  The
-   optional argument *i* defaults to ``-1``, so that by default the last item is
-   removed and returned.
+   The :meth:`pop` method's optional argument *i* defaults to ``-1``, so that
+   by default the last item is removed and returned.
 
 (7)
    The :meth:`sort` and :meth:`reverse` methods modify the list in place for