[Python-Dev] defaultdict and on_missing() (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Tue Feb 28 06:40:51 CET 2006
- Previous message: [Python-Dev] defaultdict and on_missing()
- Next message: [Python-Dev] defaultdict and on_missing()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] defaultdict and on_missing()
- Next message: [Python-Dev] defaultdict and on_missing()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]