list.sort, was Re: [Python-Dev] decorate-sort-undecorate
Gustavo Niemeyer
niemeyer at conectiva.com
Thu Oct 16 19:24:44 EDT 2003
More information about the Python-Dev mailing list
Thu Oct 16 19:24:44 EDT 2003
- Previous message: list.sort, was Re: [Python-Dev] decorate-sort-undecorate
- Next message: list.sort, was Re: [Python-Dev] decorate-sort-undecorate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> If anything at all, i'd suggest a std-module which contains e.g. > 'sort', 'reverse' and 'extend' functions which always return > a new list, so that you could write: > > for i in reverse(somelist): > ... You can do reverse with [::-1] now. -- Gustavo Niemeyer http://niemeyer.net
- Previous message: list.sort, was Re: [Python-Dev] decorate-sort-undecorate
- Next message: list.sort, was Re: [Python-Dev] decorate-sort-undecorate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list