]> granicus.if.org Git - python/commit
Remove the next() method -- one is supplied automatically by
authorGuido van Rossum <guido@python.org>
Tue, 16 Jul 2002 20:47:50 +0000 (20:47 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 16 Jul 2002 20:47:50 +0000 (20:47 +0000)
commit86d593e110f61800069b2d488d5530477a3d8054
tree894ea4a9b9dccb6e46ae33bbb8df2f967855a9da
parent2147df748fa0a44beede227af9e595fe96fd7a14
Remove the next() method -- one is supplied automatically by
PyType_Ready() because the tp_iternext slot is set.  Also removed the
redundant (and expensive!) call to raise StopIteration from
rangeiter_next().
Objects/rangeobject.c