summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/exceptions.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-06-21 13:26:28 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-06-21 13:26:28 (GMT)
commit5fa22fc088ac44c5652107c7c17cda01eaa84a28 (patch)
treef9190a64d589605debb6a08191a88a89c5e76dea /Doc/c-api/exceptions.rst
parent73c95f194975a9a6226f3f6fd87352e7337a20dd (diff)
downloadcpython-5fa22fc088ac44c5652107c7c17cda01eaa84a28.zip
cpython-5fa22fc088ac44c5652107c7c17cda01eaa84a28.tar.gz
cpython-5fa22fc088ac44c5652107c7c17cda01eaa84a28.tar.bz2
Added the const qualifier for char* argument of Py_EnterRecursiveCall().
Diffstat (limited to 'Doc/c-api/exceptions.rst')
-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 66b7752..d89c31c 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.