diff options
| author | Georg Brandl <georg@python.org> | 2005-08-26 06:43:16 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2005-08-26 06:43:16 +0000 |
| commit | 66e75ac6e092fd1b5b9a7e9378928c9ec0829f32 (patch) | |
| tree | 203bed2e39badf89a4bef7e1a281f81192a8097e /Include | |
| parent | a74a655d816399e1168680c20daff3032665450d (diff) | |
| download | cpython-git-66e75ac6e092fd1b5b9a7e9378928c9ec0829f32.tar.gz | |
Disallow keyword arguments for type constructors that don't use them
(fixes #1119418).
Diffstat (limited to 'Include')
| -rw-r--r-- | Include/modsupport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/modsupport.h b/Include/modsupport.h index 2d67f3e59b..bc30c3fa21 100644 --- a/Include/modsupport.h +++ b/Include/modsupport.h @@ -15,6 +15,7 @@ PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, char *, char **, ...); PyAPI_FUNC(int) PyArg_UnpackTuple(PyObject *, char *, int, int, ...); PyAPI_FUNC(PyObject *) Py_BuildValue(char *, ...); +PyAPI_FUNC(int) _PyArg_NoKeywords(char *funcname, PyObject *kw); PyAPI_FUNC(int) PyArg_VaParse(PyObject *, char *, va_list); PyAPI_FUNC(int) PyArg_VaParseTupleAndKeywords(PyObject *, PyObject *, |
