mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
#20063: Remove inaccurate/confusing statement about support of 'pop' method.
Patch by Gennadiy Zlobin.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user