[Python-Dev] Positional-only parameters in Python (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Thu Jan 18 09:40:15 EST 2018
- Previous message (by thread): [Python-Dev] Positional-only parameters in Python
- Next message (by thread): [Python-Dev] Positional-only parameters in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 18 January 2018 at 19:26, Larry Hastings <larry at hastings.org> wrote:
Would we be adding yet a third argument-parsing function, PyArgParseTupleAndKeywordsWithPositionalOnly()?
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
- Previous message (by thread): [Python-Dev] Positional-only parameters in Python
- Next message (by thread): [Python-Dev] Positional-only parameters in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]