diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-22 05:58:08 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-22 05:58:08 (GMT) |
commit | 007d7ff73f4e6e65cfafd512f9c23f7b7119b803 (patch) | |
tree | 31bd8b875b309b4259ca9eceff5a6746b0d4b19a /Include/structmember.h | |
parent | 9af740b99a19a85ad5f38379b6175cf4ead685ba (diff) | |
download | cpython-007d7ff73f4e6e65cfafd512f9c23f7b7119b803.zip cpython-007d7ff73f4e6e65cfafd512f9c23f7b7119b803.tar.gz cpython-007d7ff73f4e6e65cfafd512f9c23f7b7119b803.tar.bz2 |
Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef,
PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of
type "const char *" rather of "char *".
Diffstat (limited to 'Include/structmember.h')
-rw-r--r-- | Include/structmember.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/structmember.h b/Include/structmember.h index 5da8a46..b54f708 100644 --- a/Include/structmember.h +++ b/Include/structmember.h @@ -16,11 +16,11 @@ extern "C" { pointer is NULL. */ typedef struct PyMemberDef { - char *name; + const char *name; int type; Py_ssize_t offset; int flags; - char *doc; + const char *doc; } PyMemberDef; /* Types */ |