[Python-Dev] Positional-only parameters in Python

Nick Coghlan ncoghlan at gmail.com
Thu Jan 18 09:40:15 EST 2018


On 18 January 2018 at 19:26, Larry Hastings <larry at hastings.org> wrote:
> Would we be adding yet a third argument-parsing function,
> PyArg_ParseTupleAndKeywordsWithPositionalOnly()?

Checking the docs, it turns out PyArg_ParseTupleAndKeywords already
gained positional-only argument support in 3.6 by way of empty strings
in the keyword array.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list