summaryrefslogtreecommitdiffstats
path: root/Lib/_abcoll.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-01-28 23:33:59 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-01-28 23:33:59 (GMT)
commitae650181b89feeb1f68fb7643d190df52d13bd9e (patch)
tree81698da797378fef43e4287b1f3214fe137b97da /Lib/_abcoll.py
parent1124e71368c73b592020b4896fb1c5d371efbcef (diff)
downloadcpython-ae650181b89feeb1f68fb7643d190df52d13bd9e.zip
cpython-ae650181b89feeb1f68fb7643d190df52d13bd9e.tar.gz
cpython-ae650181b89feeb1f68fb7643d190df52d13bd9e.tar.bz2
Beef-up tests for collections ABCs.
Diffstat (limited to 'Lib/_abcoll.py')
-rw-r--r--Lib/_abcoll.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py
index ca82c41..eed8762 100644
--- a/Lib/_abcoll.py
+++ b/Lib/_abcoll.py
@@ -301,7 +301,7 @@ class MutableSet(Set):
"""Return the popped value. Raise KeyError if empty."""
it = iter(self)
try:
- value = it.__next__()
+ value = next(it)
except StopIteration:
raise KeyError
self.discard(value)