Issue #29460: _PyArg_NoKeywords(), _PyArg_NoStackKeywords() and

_PyArg_NoPositional() now are macros.
This commit is contained in:
Serhiy Storchaka 2017-02-06 10:41:46 +02:00
parent 6aee6fbce8
commit 68a001dd59
4 changed files with 16 additions and 6 deletions

View file

@ -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