summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/structures.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst
index 72c9445..ea97e1e 100644
--- a/Doc/c-api/structures.rst
+++ b/Doc/c-api/structures.rst
@@ -150,7 +150,7 @@ Implementing functions and methods
The function signature is::
PyObject *PyCFunction(PyObject *self,
- PyObject *const *args);
+ PyObject *args);
.. c:type:: PyCFunctionWithKeywords
@@ -159,7 +159,7 @@ Implementing functions and methods
The function signature is::
PyObject *PyCFunctionWithKeywords(PyObject *self,
- PyObject *const *args,
+ PyObject *args,
PyObject *kwargs);