summaryrefslogtreecommitdiffstats
path: root/Doc/howto/clinic.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-30 07:01:03 (GMT)
committerGitHub <noreply@github.com>2017-03-30 07:01:03 (GMT)
commit84b8e92e463bd6a5174bd3e5a6543580f6319c57 (patch)
treed8aeb7d0360e2e538ccafb0ecd26ea52a58d7aff /Doc/howto/clinic.rst
parent576def096ec7b64814e038f03290031f172886c3 (diff)
downloadcpython-84b8e92e463bd6a5174bd3e5a6543580f6319c57.zip
cpython-84b8e92e463bd6a5174bd3e5a6543580f6319c57.tar.gz
cpython-84b8e92e463bd6a5174bd3e5a6543580f6319c57.tar.bz2
bpo-29918: Add missed "const" modifiers in C API documentation. (#846)
Diffstat (limited to 'Doc/howto/clinic.rst')
-rw-r--r--Doc/howto/clinic.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst
index eaab20a..b5c14d3 100644
--- a/Doc/howto/clinic.rst
+++ b/Doc/howto/clinic.rst
@@ -1050,7 +1050,7 @@ Currently Argument Clinic supports only a few return converters:
DecodeFSDefault
None of these take parameters. For the first three, return -1 to indicate
-error. For ``DecodeFSDefault``, the return type is ``char *``; return a NULL
+error. For ``DecodeFSDefault``, the return type is ``const char *``; return a NULL
pointer to indicate an error.
(There's also an experimental ``NoneType`` converter, which lets you