| commit | 1670af6c33beb4851934b481ed8dfde3baf139a2 | [log] [tgz] |
|---|---|---|
| author | Serhiy Storchaka <[email protected]> | Sun Jun 21 16:26:28 2015 +0300 |
| committer | Serhiy Storchaka <[email protected]> | Sun Jun 21 16:26:28 2015 +0300 |
| tree | a6c8f716eb4f6fd5e52976a87d41c5b980126810 | |
| parent | 18d69e0edc4c7497f92126dc105444f5ebeb39d6 [diff] [blame] |
Added the const qualifier for char* argument of Py_EnterRecursiveCall().
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 @@ 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();