From dfd21d35387aa5feb636772485c70bf2bbffdc64 Mon Sep 17 00:00:00 2001 From: R David Murray Date: Wed, 25 Dec 2013 22:26:59 -0500 Subject: [PATCH] #20063: Remove inaccurate/confusing statement about support of 'pop' method. Patch by Gennadiy Zlobin. --- Doc/library/stdtypes.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index accf382481..442a214472 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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 -- 2.50.1