[Python-Dev] PEP 457: Syntax For Positional-Only Parameters

Larry Hastings larry at hastings.org
Wed Oct 9 16:57:24 CEST 2013


On 10/09/2013 04:24 PM, Benjamin Peterson wrote:
>> My proposed syntax is a little complex--but complex is better than
>> complicated and inconsistent and undocumented and inconvenient, which is
>> what we have now.
> Certainly the argument conventions of these functions are not
> undocumented, so wonder what is. Also, inconvenient for what? What
> inconsistency problem does this PEP solve?

Whether or not a particular function accepts keyword arguments is 
undocumented.  I have in the past been inconvenienced by this not being 
clear.  The documentation uses two approaches for documenting option 
groups, effectively at random, which is inconsistent.


//arry/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20131009/60cac204/attachment.html>


More information about the Python-Dev mailing list