summaryrefslogtreecommitdiffstats
path: root/Python
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 /Python
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 'Python')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 7656b8e..2752298 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -710,7 +710,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();