[issue20063] Docs imply that set does not support .pop() method

2013-12-25 Thread R. David Murray
R. David Murray added the comment: Thanks, Gennandiy. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker ___

[issue20063] Docs imply that set does not support .pop() method

2013-12-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3598805d7636 by R David Murray in branch '2.7': #20063: Remove inaccurate/confusing statement about support of 'pop' method. http://hg.python.org/cpython/rev/3598805d7636 -- nosy: +python-dev ___ Python t

[issue20063] Docs imply that set does not support .pop() method

2013-12-24 Thread R. David Murray
R. David Murray added the comment: Thanks, but the proposal for 2.7 is to just delete the sentence about list/array, not the whole footnote. Unless someone can think of a mutable list type in 2.7 that does not support pop... -- ___ Python tracker

[issue20063] Docs imply that set does not support .pop() method

2013-12-24 Thread Gennadiy Zlobin
Gennadiy Zlobin added the comment: Got it. Looks like I was confused by absence of this footnote in Python 3 documentation) Here's updated patch. -- Added file: http://bugs.python.org/file33263/20063.patch ___ Python tracker

[issue20063] Docs imply that set does not support .pop() method

2013-12-24 Thread Gennadiy Zlobin
Gennadiy Zlobin added the comment: Here's the patch -- keywords: +patch nosy: +gennad Added file: http://bugs.python.org/file33262/20063.patch ___ Python tracker ___

[issue20063] Docs imply that set does not support .pop() method

2013-12-24 Thread Madison May
Madison May added the comment: +1 for simply deleting that bit -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue20063] Docs imply that set does not support .pop() method

2013-12-24 Thread R. David Murray
R. David Murray added the comment: Well, set supporting it is irrelevant to that section, which is about mutable sequence types. However, bytearray also supports pop, so I think perhaps that sentence should just be deleted. The whole footnote is gone in the Python3. docs. -- nosy: +

[issue20063] Docs imply that set does not support .pop() method

2013-12-24 Thread Madison May
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 i