mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
pop() docstring: this isn't a randomly-chosen element, it's merely
arbitrary. I already changed the docs for this.
This commit is contained in:
parent
d06d03041b
commit
53506be258
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ class Set(BaseSet):
|
|||
pass
|
||||
|
||||
def pop(self):
|
||||
"""Remove and return a randomly-chosen set element."""
|
||||
"""Remove and return an arbitrary set element."""
|
||||
return self._data.popitem()[0]
|
||||
|
||||
def _as_immutable(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue