summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
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)
commit1670af6c33beb4851934b481ed8dfde3baf139a2 (patch)
treea6c8f716eb4f6fd5e52976a87d41c5b980126810 /Python/ceval.c
parent18d69e0edc4c7497f92126dc105444f5ebeb39d6 (diff)
downloadcpython-1670af6c33beb4851934b481ed8dfde3baf139a2.zip
cpython-1670af6c33beb4851934b481ed8dfde3baf139a2.tar.gz
cpython-1670af6c33beb4851934b481ed8dfde3baf139a2.tar.bz2
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 115d278..fa9e7e0 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -615,7 +615,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();