Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.055 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'english.': 0.04; 'arguments': 0.09; 'lawrence': 0.09; 'subject:None': 0.09; 'cc:addr:python-list': 0.11; 'accepts': 0.16; 'subject:key': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'cc:addr:python.org': 0.22; 'refers': 0.24; 'cc:2**0': 0.24; 'sort': 0.25; 'header:In-Reply-To:1': 0.27; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:python': 0.33; 'fri,': 0.33; 'plain': 0.33; 'received:google.com': 0.35; 'method': 0.36; 'url:org': 0.36; 'two': 0.37; 'list': 0.37; 'url:library': 0.38; 'pm,': 0.38; 'url:3': 0.61; 'simply': 0.61; 'here': 0.66; 'believe': 0.68; '20,': 0.68; 'subject': 0.69; 'repeat': 0.74; 'to:addr:yahoo.co.uk': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=zyfzhF9KRoVzxmqqcFRKDtbMogFbZSgaXsGV+nf9SP8=; b=XbXJXMWsE9+p4VQVJZKpq/l3eU96GKia/9cKHcVBbpxu0Laeu/ndh4lt79D2lTKYw9 GhddoimkZwhwPp06/gFVmM4lwEL7iiKwt1uxfMR8I/taD6lt3B5+p9CyHLW/sPgVx30R TgIMx84na4IDprNFUrctQE6H0AtnlIJYo3G35PlH/Zgq8j26VZqj9qJgsNMiyVMx8m3p aDkSXw3gO9dIhzKaRYt3WZAurx1dPmYogLP/mUqdOc8/Gi8P8+PWcUaCZxQF8QFz1HuR wRZENK+U0vFJyKoLgGK2aAgH0yD06h4udFB+crHMtDgd58s8XDRN/XRyizRil9qJurMz iU7Q== X-Received: by 10.224.128.134 with SMTP id k6mr22177933qas.68.1387610499299; Fri, 20 Dec 2013 23:21:39 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Devin Jeanpierre Date: Fri, 20 Dec 2013 23:20:59 -0800 Subject: Re: sort(*, key=None, reverse=None) To: Mark Lawrence Content-Type: text/plain; charset=UTF-8 Cc: "comp.lang.python" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387610507 news.xs4all.nl 2857 [2001:888:2000:d::a6]:50491 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62468 On Fri, Dec 20, 2013 at 11:16 PM, Mark Lawrence 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