[docs] [issue20063] Docs imply that set does not support .pop() method
report at bugs.python.org
Tue Dec 24 16:33:15 CET 2013
New submission from Madison May:
Note item 6 of http://docs.python.org/2.7/library/stdtypes.html#mutable-sequence-types is a bit misleading.
It states: "The 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."
However, pop() is also a method of sets, which are neither lists or arrays.
assignee: docs at python
nosy: docs at python, madison.may
title: Docs imply that set does not support .pop() method
versions: Python 2.7
Python tracker <report at bugs.python.org>
More information about the docs