summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-23 20:36:58 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-08-23 20:36:58 (GMT)
commit53506be258e96e77e8df7841371e812796f82e39 (patch)
tree4dac91c78e326dea8d51b1a978d8b37da0fc3742
parentd06d03041b4b176953629858ae3a4f641e5a3c4f (diff)
downloadcpython-53506be258e96e77e8df7841371e812796f82e39.zip
cpython-53506be258e96e77e8df7841371e812796f82e39.tar.gz
cpython-53506be258e96e77e8df7841371e812796f82e39.tar.bz2
pop() docstring: this isn't a randomly-chosen element, it's merely
arbitrary. I already changed the docs for this.
-rw-r--r--Lib/sets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sets.py b/Lib/sets.py
index bd4a2b5..4fc260c 100644
--- a/Lib/sets.py
+++ b/Lib/sets.py
@@ -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):