mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
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 *".
This commit is contained in:
parent
9af740b99a
commit
007d7ff73f
8 changed files with 31 additions and 21 deletions
|
@ -1138,11 +1138,11 @@ in the instance. A variety of primitive C types are supported, and access may
|
|||
be read-only or read-write. The structures in the table are defined as::
|
||||
|
||||
typedef struct PyMemberDef {
|
||||
char *name;
|
||||
int type;
|
||||
int offset;
|
||||
int flags;
|
||||
char *doc;
|
||||
const char *name;
|
||||
int type;
|
||||
int offset;
|
||||
int flags;
|
||||
const char *doc;
|
||||
} PyMemberDef;
|
||||
|
||||
For each entry in the table, a :term:`descriptor` will be constructed and added to the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue