Ka-Ping Yee wrote: > > tuples(), lists(), dict(), and indices() look pretty generally useful > to me. I agree that they look like good candidates for builtins. > > On Wed, 12 Jul 2000, M.-A. Lemburg wrote: > > irange(object[,indices]) > > Builds a tuple of tuples (index, object[index]). If a sequence > > indices is given, the indices are read from it. If not, then > > the index sequence defaults to trange(len(object)). > > This one in particular looks really fabulous. +1 to put this in builtins. > > In order of usefulness (just imho of course): > > irange +1 > tuples +0.5 > indices +0.5 > dict +0 > lists +0 If you want these in the standard dist, just go ahead and steal them from mx.Tools -- I don't have time to look into this right now (and of course I already have them as builtins ;-) -- Marc-Andre Lemburg ______________________________________________________________________ Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/
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