summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-06-21 16:27:36 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2015-06-21 16:27:36 +0300
commitdcbff7d4e1616fcc596d0ff989dfdb863a017661 (patch)
treeca5d2cf327ce6769c20dca2e09d3c07f59d30d26 /Doc
parent86621ae19be63bf73e51ca71784324a0981b4286 (diff)
parent289dd19124734b973e6f43f13328dfeca979d685 (diff)
downloadcpython-git-dcbff7d4e1616fcc596d0ff989dfdb863a017661.tar.gz
Added the const qualifier for char* argument of Py_EnterRecursiveCall().
Diffstat (limited to 'Doc')
-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 814317b359..a3b9cb4465 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -674,7 +674,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.