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

Skip Montanaro skip at pobox.com
Mon Oct 13 18:51:52 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.

direction=[ascending|descending]

?  Just a thought.

Skip



More information about the Python-Dev mailing list