mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Added the const qualifier for char* argument of Py_EnterRecursiveCall().
This commit is contained in:
commit
289dd19124
3 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue