summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-26 06:43:16 +0000
committerGeorg Brandl <georg@python.org>2005-08-26 06:43:16 +0000
commit66e75ac6e092fd1b5b9a7e9378928c9ec0829f32 (patch)
tree203bed2e39badf89a4bef7e1a281f81192a8097e /Include
parenta74a655d816399e1168680c20daff3032665450d (diff)
downloadcpython-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.h1
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 *,