]> granicus.if.org Git - python/commitdiff
pop() docstring: this isn't a randomly-chosen element, it's merely
authorTim Peters <tim.peters@gmail.com>
Fri, 23 Aug 2002 20:36:58 +0000 (20:36 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 23 Aug 2002 20:36:58 +0000 (20:36 +0000)
arbitrary.  I already changed the docs for this.

Lib/sets.py

index bd4a2b5d5585261be58ee629564a15d51ed783ef..4fc260cd521f956046e1c335d8df1ed01b11753f 100644 (file)
@@ -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):