summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-06-21 13:27:09 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-06-21 13:27:09 (GMT)
commit289dd19124734b973e6f43f13328dfeca979d685 (patch)
tree2dce516f35371ce82894c316769b203b5efd02cd /Doc/c-api
parentccfdf0923ace5bd64b7667516f18ef8fcce3c4db (diff)
parent5fa22fc088ac44c5652107c7c17cda01eaa84a28 (diff)
downloadcpython-289dd19124734b973e6f43f13328dfeca979d685.zip
cpython-289dd19124734b973e6f43f13328dfeca979d685.tar.gz
cpython-289dd19124734b973e6f43f13328dfeca979d685.tar.bz2
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 814317b..a3b9cb4 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.