mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +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
|
@ -1035,7 +1035,7 @@ _imp_create_builtin(PyObject *module, PyObject *spec)
|
|||
{
|
||||
struct _inittab *p;
|
||||
PyObject *name;
|
||||
char *namestr;
|
||||
const char *namestr;
|
||||
PyObject *mod;
|
||||
|
||||
name = PyObject_GetAttrString(spec, "name");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue