summaryrefslogtreecommitdiffstats
path: root/Lib/_abcoll.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-02-24 11:25:35 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-02-24 11:25:35 (GMT)
commit9aa53c2f0151032c5592d0c8b112fc35d7f77078 (patch)
treef8adb68506cd22f9cf5a3dfdb9d7bd87128837fc /Lib/_abcoll.py
parentafd30450251f7857aae8fbaaf4344ab04fac44f5 (diff)
downloadcpython-9aa53c2f0151032c5592d0c8b112fc35d7f77078.zip
cpython-9aa53c2f0151032c5592d0c8b112fc35d7f77078.tar.gz
cpython-9aa53c2f0151032c5592d0c8b112fc35d7f77078.tar.bz2
range() should have been registered as a Sequence.
Needs to be backported to 2.6, 2.7, and 3.0.
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 eed8762..c7636ec 100644
--- a/Lib/_abcoll.py
+++ b/Lib/_abcoll.py
@@ -546,6 +546,7 @@ class Sequence(Sized, Iterable, Container):
Sequence.register(tuple)
Sequence.register(str)
+Sequence.register(range)
class ByteString(Sequence):