summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2020-05-07 17:16:01 (GMT)
committerGitHub <noreply@github.com>2020-05-07 17:16:01 (GMT)
commitc068b53a0ca6ebf740d98e422569d2f705e54f93 (patch)
tree0fed9b2a2aa790fb2ca8acb835270cc2357cf5ce /Doc
parenta1d9e0accd33af1d8e90fc48b34c13d7b07dcf57 (diff)
downloadcpython-c068b53a0ca6ebf740d98e422569d2f705e54f93.zip
cpython-c068b53a0ca6ebf740d98e422569d2f705e54f93.tar.gz
cpython-c068b53a0ca6ebf740d98e422569d2f705e54f93.tar.bz2
bpo-38787: Update structures.rst docs (PEP 573) (GH-19980)
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);