]> granicus.if.org Git - python/commit
Patch 1335 by Christian Heimes.
authorGuido van Rossum <guido@python.org>
Fri, 26 Oct 2007 17:39:48 +0000 (17:39 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 26 Oct 2007 17:39:48 +0000 (17:39 +0000)
commita5d2d5573a6dc24f6b0de8dd089290216bd96249
tree9d141d6662360962281d83a35c0f3798b5bc8f08
parent57233cb3f9d59233711e63034cc1e84360f0da15
Patch 1335 by Christian Heimes.
Add a bytes iterator (copied from stringobject.c and reindented :-).
I (Guido) added a small change to _abcoll.py to remove the registration
of bytes as a virtual subtype of Iterator -- the presence of __iter__
will handle that now.
Lib/_abcoll.py
Objects/bytesobject.c