commit | 4adf01caae967cc2962ba69b1a193875b84cfa4e | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Oct 19 18:30:05 2016 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed Oct 19 18:30:05 2016 +0300 |
tree | d24ebeef0b580c788fa50af7e2e1588f3e16a337 | |
parent | 1883542eb95e7e40c2817cdd211206078c7087d7 [diff] [blame] |
Issue #19795: Improved more markups of True/False.
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 @@ .. 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.