On 2/27/06, Nick Coghlan <ncoghlan at gmail.com> 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)" > > That would go hand in hand with the idea of allowing the continue statement to > accept an argument though. Yup. The continue thing we might add in 2.6. The __next__ API in 3.0. -- --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4