summaryrefslogtreecommitdiff
path: root/Doc/howto
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-30 10:01:03 +0300
committerGitHub <noreply@github.com>2017-03-30 10:01:03 +0300
commit84b8e92e463bd6a5174bd3e5a6543580f6319c57 (patch)
treed8aeb7d0360e2e538ccafb0ecd26ea52a58d7aff /Doc/howto
parent576def096ec7b64814e038f03290031f172886c3 (diff)
downloadcpython-git-84b8e92e463bd6a5174bd3e5a6543580f6319c57.tar.gz
bpo-29918: Add missed "const" modifiers in C API documentation. (#846)
Diffstat (limited to 'Doc/howto')
-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 eaab20ad97..b5c14d3af0 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