summaryrefslogtreecommitdiff
path: root/Objects/enumobject.c
AgeCommit message (Expand)AuthorLines
2004-09-01SF patch #1020188: Use Py_CLEAR where necessary to avoid crashesRaymond Hettinger-4/+1
2004-08-25Fix docstring typo.Raymond Hettinger-1/+1
2004-04-12* Add unittests for iterators that report their lengthRaymond Hettinger-1/+12
2004-03-10Tidied up the implementations of reversed (including the custom onesRaymond Hettinger-16/+20
2004-03-10Eliminate the double reverse option. It's only use caseRaymond Hettinger-13/+1
2004-02-10Make reversed() transparent with respect to length.Raymond Hettinger-1/+13
2004-02-08Let reversed() work with itself.Raymond Hettinger-1/+12
2004-02-07* Fix ref counting in extend() and extendleft().Raymond Hettinger-2/+1
2003-11-07Optimize reversed(list) using a custom iterator.Raymond Hettinger-2/+2
2003-11-06Implement and apply PEP 322, reverse iterationRaymond Hettinger-0/+125
2003-11-02Use PyTuple_Pack() to simplify enumerate().Raymond Hettinger-5/+1
2003-05-28* Beefed-up testsRaymond Hettinger-13/+42
2003-04-21Add a useful docstring to enumerate.Jeremy Hylton-1/+6
2003-03-17Renamed PyObject_GenericGetIter to PyObject_SelfIterRaymond Hettinger-1/+1
2003-03-17Created PyObject_GenericGetIter().Raymond Hettinger-8/+1
2002-07-16Remove the next() method -- one is supplied automatically byGuido van Rossum-16/+11
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-2/+2
2002-04-26- New builtin function enumerate(x), from PEP 279. Example:Guido van Rossum-0/+139