summaryrefslogtreecommitdiff
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-06-21 16:27:09 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2015-06-21 16:27:09 +0300
commit289dd19124734b973e6f43f13328dfeca979d685 (patch)
tree2dce516f35371ce82894c316769b203b5efd02cd /Python/ceval.c
parentccfdf0923ace5bd64b7667516f18ef8fcce3c4db (diff)
parent5fa22fc088ac44c5652107c7c17cda01eaa84a28 (diff)
downloadcpython-git-289dd19124734b973e6f43f13328dfeca979d685.tar.gz
Added the const qualifier for char* argument of Py_EnterRecursiveCall().
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 641f9db317..e127a731fd 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -712,7 +712,7 @@ Py_SetRecursionLimit(int new_limit)
to guarantee that _Py_CheckRecursiveCall() is regularly called.
Without USE_STACKCHECK, there is no need for this. */
int
-_Py_CheckRecursiveCall(char *where)
+_Py_CheckRecursiveCall(const char *where)
{
PyThreadState *tstate = PyThreadState_GET();