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


Groups > comp.lang.python > #62468 > unrolled thread

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

Started byDevin Jeanpierre <jeanpierreda@gmail.com>
First post2013-12-20 23:20 -0800
Last post2013-12-20 23:20 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: sort(*, key=None, reverse=None) Devin Jeanpierre <jeanpierreda@gmail.com> - 2013-12-20 23:20 -0800

#62468 — Re: sort(*, key=None, reverse=None)

FromDevin Jeanpierre <jeanpierreda@gmail.com>
Date2013-12-20 23:20 -0800
SubjectRe: sort(*, key=None, reverse=None)
Message-ID<mailman.4454.1387610507.18130.python-list@python.org>
On Fri, Dec 20, 2013 at 11:16 PM, Mark Lawrence <breamoreboy@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?

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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web