commit | cd8295ff758891f21084a6a5ad3403d35dda38f7 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sat Apr 11 10:48:40 2020 +0300 |
committer | GitHub <noreply@github.com> | Sat Apr 11 10:48:40 2020 +0300 |
tree | a77f829dea34198a7f36658c6e22baf4bc0bf5f5 | |
parent | 7ec43a73092d43c6c95e7dd2669f49d54b57966f [diff] [blame] |
bpo-39943: Add the const qualifier to pointers on non-mutable PyUnicode data. (GH-19345)
diff --git a/Modules/_operator.c b/Modules/_operator.c index 007c21b..19026b6 100644 --- a/Modules/_operator.c +++ b/Modules/_operator.c
@@ -1170,7 +1170,7 @@ for (idx = 0; idx < nattrs; ++idx) { PyObject *item = PyTuple_GET_ITEM(args, idx); Py_ssize_t item_len; - void *data; + const void *data; unsigned int kind; int dot_count;