summaryrefslogtreecommitdiff
path: root/Doc/c-api
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-06-21 16:26:28 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2015-06-21 16:26:28 +0300
commitb2b0ebaa89e98359b2995ae684e99b82c24aeb0b (patch)
tree9ad5ad469f8b65e8d495cef17ba8c12b0516d491 /Doc/c-api
parent8ba7c689c258e3ad439e012a4dd4b8035a5697a8 (diff)
downloadcpython-b2b0ebaa89e98359b2995ae684e99b82c24aeb0b.tar.gz
Added the const qualifier for char* argument of Py_EnterRecursiveCall().
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/exceptions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index 66b7752661..d89c31c0df 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -621,7 +621,7 @@ level, both in the core and in extension modules. They are needed if the
recursive code does not necessarily invoke Python code (which tracks its
recursion depth automatically).
-.. c:function:: int Py_EnterRecursiveCall(char *where)
+.. c:function:: int Py_EnterRecursiveCall(const char *where)
Marks a point where a recursive C-level call is about to be performed.