Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62467

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

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject sort(*, key=None, reverse=None)
Date 2013-12-21 07:16 +0000
Newsgroups comp.lang.python
Message-ID <mailman.4453.1387610202.18130.python-list@python.org> (permalink)

Show all headers | View raw


The subject refers to the list sort method given here 
http://docs.python.org/3/library/stdtypes.html#list.  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?

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

Mark Lawrence

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

sort(*, key=None, reverse=None) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-21 07:16 +0000

csiph-web