From: Tim Peters Date: Fri, 23 Aug 2002 20:36:58 +0000 (+0000) Subject: pop() docstring: this isn't a randomly-chosen element, it's merely X-Git-Tag: v2.3c1~4314 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53506be258e96e77e8df7841371e812796f82e39;p=python pop() docstring: this isn't a randomly-chosen element, it's merely arbitrary. I already changed the docs for this. --- diff --git a/Lib/sets.py b/Lib/sets.py index bd4a2b5d55..4fc260cd52 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):