diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-23 12:34:00 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-23 12:34:00 +0100 |
commit | a1818e636648a06d61ba4e834aa0cd0d775ffe32 (patch) | |
tree | e8008fdefe3c247030dfb3b3e9efc8cb98ec4c65 /Doc/extending/newtypes.rst | |
parent | 8bc96d38198140539ba2f1f2e3572f8987a5ae15 (diff) | |
parent | f387156961893ed516bfd36dae6dabc26e7b0fc9 (diff) | |
download | cpython-a1818e636648a06d61ba4e834aa0cd0d775ffe32.tar.gz |
Merge 3.6
Diffstat (limited to 'Doc/extending/newtypes.rst')
-rw-r--r-- | Doc/extending/newtypes.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst index b8ce437787..118f336ae1 100644 --- a/Doc/extending/newtypes.rst +++ b/Doc/extending/newtypes.rst @@ -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 |