On Sat, Dec 21, 2013 at 6:16 PM, Mark Lawrence <breamore...@yahoo.co.uk> wrote:
> 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?

The *, means that they're keyword-only arguments. It prevents you from
passing them positionally.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to