diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 15:30:05 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 15:30:05 (GMT) |
commit | 4adf01caae967cc2962ba69b1a193875b84cfa4e (patch) | |
tree | d24ebeef0b580c788fa50af7e2e1588f3e16a337 /Doc/c-api | |
parent | 1883542eb95e7e40c2817cdd211206078c7087d7 (diff) | |
download | cpython-4adf01caae967cc2962ba69b1a193875b84cfa4e.zip cpython-4adf01caae967cc2962ba69b1a193875b84cfa4e.tar.gz cpython-4adf01caae967cc2962ba69b1a193875b84cfa4e.tar.bz2 |
Issue #19795: Improved more markups of True/False.
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/number.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/number.rst b/Doc/c-api/number.rst index 9bcb649..4a2d931 100644 --- a/Doc/c-api/number.rst +++ b/Doc/c-api/number.rst @@ -278,5 +278,5 @@ Number Protocol .. c:function:: int PyIndex_Check(PyObject *o) - Returns True if *o* is an index integer (has the nb_index slot of the - tp_as_number structure filled in). + Returns ``1`` if *o* is an index integer (has the nb_index slot of the + tp_as_number structure filled in), and ``0`` otherwise. |