mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
Issue #29460: _PyArg_NoKeywords(), _PyArg_NoStackKeywords() and
_PyArg_NoPositional() now are macros.
This commit is contained in:
parent
6aee6fbce8
commit
68a001dd59
4 changed files with 16 additions and 6 deletions
|
@ -2446,6 +2446,10 @@ _PyArg_UnpackStack(PyObject **args, Py_ssize_t nargs, const char *name,
|
|||
}
|
||||
|
||||
|
||||
#undef _PyArg_NoKeywords
|
||||
#undef _PyArg_NoStackKeywords
|
||||
#undef _PyArg_NoPositional
|
||||
|
||||
/* For type constructors that don't take keyword args
|
||||
*
|
||||
* Sets a TypeError and returns 0 if the args/kwargs is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue