diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-20 10:16:47 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-20 10:16:47 +0200 |
commit | 5d858465b6ebdafa05f86309457848cc26913b6a (patch) | |
tree | b7b6fc3238b3c9a4358d2b1523e6fa38d4e1469a /Objects/setobject.c | |
parent | abbf5f179143f0c4e96fe5e507ea5f69ea195c9e (diff) | |
download | cpython-5d858465b6ebdafa05f86309457848cc26913b6a.tar.gz |
Added the const qualifier to char* variables that refer to readonly internal
UTF-8 represenatation of Unicode objects.
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r-- | Objects/setobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index fdb9d3600d..b7e0617db3 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -2398,7 +2398,7 @@ static PyObject * test_c_api(PySetObject *so) { Py_ssize_t count; - char *s; + const char *s; Py_ssize_t i; PyObject *elem=NULL, *dup=NULL, *t, *f, *dup2, *x=NULL; PyObject *ob = (PyObject *)so; |