mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Added the const qualifier to char* variables that refer to readonly internal
UTF-8 represenatation of Unicode objects.
This commit is contained in:
parent
a98c4a984b
commit
85b0f5beb1
29 changed files with 60 additions and 61 deletions
|
@ -1131,7 +1131,7 @@ PyCodec_SurrogatePassErrors(PyObject *exc)
|
|||
PyObject *restuple;
|
||||
PyObject *object;
|
||||
PyObject *encode;
|
||||
char *encoding;
|
||||
const char *encoding;
|
||||
int code;
|
||||
int bytelength;
|
||||
Py_ssize_t i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue