diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 2 | ||||
-rw-r--r-- | Python/traceback.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 7656b8ef54..275229858e 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(); diff --git a/Python/traceback.c b/Python/traceback.c index 2bea29e44a..7d1fc2e8ac 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -143,7 +143,7 @@ PyTraceBack_Here(PyFrameObject *frame) } /* Insert a frame into the traceback for (funcname, filename, lineno). */ -void _PyTraceback_Add(char *funcname, char *filename, int lineno) +void _PyTraceback_Add(const char *funcname, const char *filename, int lineno) { PyObject *globals = NULL; PyCodeObject *code = NULL; |