[Python-Dev] Re: Python-Dev Digest, Vol 3, Issue 25
Guido van Rossum
guido at python.org
Mon Oct 13 23:33:37 EDT 2003
More information about the Python-Dev mailing list
Mon Oct 13 23:33:37 EDT 2003
- Previous message: [Python-Dev] Re: Python-Dev Digest, Vol 3, Issue 25
- Next message: [Python-Dev] Re: Python-Dev Digest, Vol 3, Issue 25
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> >> I would also advocate an optional reverse=False argument, so that > >> > >> result = sort(names, reverse=True) > >> > >> is equivalent to > >> > >> result = sort(names) > >> result.reverse() > > Guido> While we're at it, +1. [Skip] > direction=[ascending|descending] > > ? Just a thought. But where would these constants be defined? Using direction='ascending' feels ugly. --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Re: Python-Dev Digest, Vol 3, Issue 25
- Next message: [Python-Dev] Re: Python-Dev Digest, Vol 3, Issue 25
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list