Commit dfd21d35 authored by R David Murray's avatar R David Murray

#20063: Remove inaccurate/confusing statement about support of 'pop' method.

Patch by Gennadiy Zlobin.
parent 0356ff04
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment