summaryrefslogtreecommitdiff
path: root/Lib/_abcoll.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-02-24 12:25:32 +0000
committerRaymond Hettinger <python@rcn.com>2009-02-24 12:25:32 +0000
commit9293eb965a2f70a3af849791401f8ec3fc23662b (patch)
treee48b6691f0cb0c75760781698e29f80fe7604792 /Lib/_abcoll.py
parent54fba82310bd8441dfc580e37daacb52a217d4fb (diff)
downloadcpython-git-9293eb965a2f70a3af849791401f8ec3fc23662b.tar.gz
Backport 69934: Register xrange() as a Sequence.
Diffstat (limited to 'Lib/_abcoll.py')
-rw-r--r--Lib/_abcoll.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py
index 36aca958c7..942a72c0ce 100644
--- a/Lib/_abcoll.py
+++ b/Lib/_abcoll.py
@@ -519,6 +519,7 @@ class Sequence(Sized, Iterable, Container):
Sequence.register(tuple)
Sequence.register(basestring)
Sequence.register(buffer)
+Sequence.register(xrange)
class MutableSequence(Sequence):