[New-bugs-announce] [issue15619] set.pop() documentation is confusing

Anton Barkovsky report at bugs.python.org
Fri Aug 10 19:00:37 CEST 2012


New submission from Anton Barkovsky:

I've seen people being confused by the documentation for set.pop() method. It makes it look like the element is selected randomly while it's
just unspecified.

I'm attaching a patch that clarifies the doc, tested on 3.3, 3.2 and 2.7

----------
assignee: docs at python
components: Documentation
files: set_pop_doc.patch
keywords: patch
messages: 167895
nosy: anton.barkovsky, docs at python
priority: normal
severity: normal
status: open
title: set.pop() documentation is confusing
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file26759/set_pop_doc.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15619>
_______________________________________


More information about the New-bugs-announce mailing list