Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; 'syntax': 0.13; 'thu,': 0.15; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'subject:?)': 0.16; 'laura': 0.18; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'arguments': 0.22; 'suppose': 0.22; 'cc:no real name:2**0': 0.23; 'code.': 0.23; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'question': 0.26; 'least': 0.27; 'rest': 0.28; 'received:se': 0.29; 'too.': 0.30; 'late': 0.34; 'too': 0.36; 'subject:: ': 0.37; 'charset:us- ascii': 0.37; 'subject: (': 0.40; 'subject:the': 0.40; 'header :Message-Id:1': 0.62; 'introduction': 0.63; 'hate': 0.66; 'received:89': 0.80; '+1000,': 0.84; 'asterisk': 0.84; 'confusing': 0.84; 'lone': 0.91; 'subject:Set': 0.91 To: Ben Finney cc: python-list@python.org From: Laura Creighton Subject: Re: Documenting a function signature (was: Set a flag on the function or a global?) In-Reply-To: Message from Ben Finney of "Thu, 18 Jun 2015 10:04:46 +1000." <85egl9ubj5.fsf_-_@benfinney.id.au> References: <557fdbd6$0$11097$c3e8da3@news.astraweb.com> <55818b3c$0$1665$c3e8da3$5496439d@news.astraweb.com> <55819878$0$1658$c3e8da3$5496439d@news.astraweb.com><85egl9ubj5.fsf_-_@benfinney.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8703.1434663525.1@fido> Date: Thu, 18 Jun 2015 23:38:45 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Thu, 18 Jun 2015 23:38:51 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1434663725 news.xs4all.nl 2868 [2001:888:2000:d::a6]:53373 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:92854 In a message of Thu, 18 Jun 2015 10:04:46 +1000, Ben Finney writes: >Since the introduction of keyword-only arguments in Python functions, >the question arises of how to communicate this in documentation. I suppose it is way too late to scream "I hate keyword-only arguments"! >The lone asterisk showing the separation of keyword-only arguments from >the rest is confusing to me. Not least because it is (if I understand >correctly) invalid syntax to actually have that in Python code. Me too. Laura