sort(*, key=None, reverse=None)

Mark Lawrence breamoreboy at
Sat Dec 21 08:24:30 CET 2013

On 21/12/2013 07:20, Devin Jeanpierre wrote:
> On Fri, Dec 20, 2013 at 11:16 PM, Mark Lawrence <breamoreboy at> wrote:
>> The subject refers to the list sort method given here
>>  I believe that the
>> "*," bit is simply a typo, given that the docs also state "sort() accepts
>> two arguments that can only be passed by keyword".  Am I correct?
> It's good practice in technical writing to repeat yourself: once in
> the formal spec, and once in plain english. I don't see why this would
> be a typo.
> -- Devin

So what is it actually saying?

My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

More information about the Python-list mailing list