diff options
author | Steve Dower <steve.dower@microsoft.com> | 2017-02-04 16:46:53 -0800 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2017-02-04 16:46:53 -0800 |
commit | b1a1742796fce8078f9f1f3d5e3161122fae3b0a (patch) | |
tree | 89c863764481b7c7fbe645be42b16e1d35e92751 /Doc/extending/newtypes.rst | |
parent | 391ed6c73cb1964b57d0b538370a76d03d30511b (diff) | |
parent | cf1f5444eb42a8dc252b295d3863288309996a5d (diff) | |
download | cpython-b1a1742796fce8078f9f1f3d5e3161122fae3b0a.tar.gz |
Merge from 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 |