[Python-Dev] defaultdict and on_missing() (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Feb 28 06:40:51 CET 2006


Nick Coghlan wrote:

I wouldn't mind seeing one of the early ideas from PEP 340 being resurrected some day, such that the signature for the special method was "next(self, input)" and for the builtin "next(iterator, input=None)"

Aren't we getting an argument to next() anyway? Or was that idea dropped?

Greg



More information about the Python-Dev mailing list