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
|
@ -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…
Reference in New Issue