On 27 June 2001, Delaney, Timothy said: > If this is to be done, I would also propose that xrange() and range() be > changed to allow passing in a straight-out sequence such as in the following > code in order to get rid of the need for range(len(seq)): I'm +1 on the face of it without stopping to consider any implications. ;-) Some bits of syntactic sugar as just too good to pass up. range(len(sequence)) is syntactic cod-liver oil. Greg -- Greg Ward - programmer-at-big gward@python.net http://starship.python.net/~gward/ Blood is thicker than water, and much tastier.
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