diff options
Diffstat (limited to 'Lib/sets.py')
-rw-r--r-- | Lib/sets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sets.py b/Lib/sets.py index c301c4183b..05128462ec 100644 --- a/Lib/sets.py +++ b/Lib/sets.py @@ -420,7 +420,7 @@ class Set(BaseSet): except KeyError: pass - def popitem(self): + def pop(self): """Remove and return a randomly-chosen set element.""" return self._data.popitem()[0] |