A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/038680.html below:

[Python-Dev] Re: Python-Dev Digest, Vol 3, Issue 25

[Python-Dev] Re: Python-Dev Digest, Vol 3, Issue 25Guido van Rossum guido at python.org
Mon Oct 13 23:33:37 EDT 2003
>     >> 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/)

More information about the Python-Dev mailing list

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