mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
bpo-39943: Add the const qualifier to pointers on non-mutable PyUnicode data. (GH-19345)
This commit is contained in:
parent
7ec43a7309
commit
cd8295ff75
27 changed files with 250 additions and 221 deletions
|
|
@ -2581,7 +2581,7 @@ raw_unicode_escape(PyObject *obj)
|
|||
{
|
||||
char *p;
|
||||
Py_ssize_t i, size;
|
||||
void *data;
|
||||
const void *data;
|
||||
unsigned int kind;
|
||||
_PyBytesWriter writer;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue