diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-02-16 08:50:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 08:50:00 +0100 |
commit | 871eb4237b9be95263ca13ba8856e78344eb9eba (patch) | |
tree | 25e8e7ac21e5656233c0111593e0de37e304ce65 /Doc/c-api/descriptor.rst | |
parent | bpo-43155: Add PyCMethod_New to PC/python3dll.c (GH-24500) (diff) | |
download | cpython-871eb4237b9be95263ca13ba8856e78344eb9eba.tar.gz cpython-871eb4237b9be95263ca13ba8856e78344eb9eba.tar.bz2 cpython-871eb4237b9be95263ca13ba8856e78344eb9eba.zip |
Diffstat (limited to 'Doc/c-api/descriptor.rst')
-rw-r--r-- | Doc/c-api/descriptor.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/descriptor.rst b/Doc/c-api/descriptor.rst index 1005140c7ac..b32c113e5f0 100644 --- a/Doc/c-api/descriptor.rst +++ b/Doc/c-api/descriptor.rst @@ -32,8 +32,8 @@ found in the dictionary of type objects. .. c:function:: int PyDescr_IsData(PyObject *descr) - Return true if the descriptor objects *descr* describes a data attribute, or - false if it describes a method. *descr* must be a descriptor object; there is + Return non-zero if the descriptor objects *descr* describes a data attribute, or + ``0`` if it describes a method. *descr* must be a descriptor object; there is no error checking. |