diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2024-11-08 12:23:50 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-08 12:23:50 (GMT) |
| commit | 061e50f196373d920c3eaa3718b9d0553914e006 (patch) | |
| tree | 8121c12d8d17ccdd0b3a33dd7f3c93fb725f04df /Python/getargs.c | |
| parent | ee0746af7d7cfc6cc25441726034e4fea4bcf7e5 (diff) | |
| download | cpython-061e50f196373d920c3eaa3718b9d0553914e006.zip cpython-061e50f196373d920c3eaa3718b9d0553914e006.tar.gz cpython-061e50f196373d920c3eaa3718b9d0553914e006.tar.bz2 | |
gh-122943: Add the varpos parameter in _PyArg_UnpackKeywords (GH-126564)
Remove _PyArg_UnpackKeywordsWithVararg.
Add comments for integer arguments of _PyArg_UnpackKeywords.
Diffstat (limited to 'Python/getargs.c')
| -rw-r--r-- | Python/getargs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index d529994..6485a71 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -2308,8 +2308,10 @@ vgetargskeywordsfast(PyObject *args, PyObject *keywords, } +#undef _PyArg_UnpackKeywords + PyObject * const * -_PyArg_UnpackKeywordsEx(PyObject *const *args, Py_ssize_t nargs, +_PyArg_UnpackKeywords(PyObject *const *args, Py_ssize_t nargs, PyObject *kwargs, PyObject *kwnames, struct _PyArg_Parser *parser, int minpos, int maxpos, int minkw, int varpos, |
