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

Nick Coghlan ncoghlan at gmail.com
Thu Oct 10 11:22:25 CEST 2013


On 10 Oct 2013 12:40, "Greg Ewing" <greg.ewing at canterbury.ac.nz> wrote:
>
> On 10/10/13 11:57, Nick Coghlan wrote:
>>
>> PEP title: Representation of positional-only parameters
>
>
> Something like "Notation for documenting positional-only parameters"
> would make it even clearer that this is not a proposal for adding
> to the syntax of the language.

It's more than that though, since pydoc and inspect will both emit the
chosen format, and it's entirely possible inspect.Signature will grow an
alternative constructor that consumes it.

Cheers,
Nick.

>
> --
> Greg
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20131010/1fdd232b/attachment.html>


More information about the Python-Dev mailing list