diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 15:36:51 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 15:36:51 (GMT) |
commit | 7d6dda4b783dc8720b354e5ede766fcb8407de14 (patch) | |
tree | e89b9cb93e95954bc563b6b9401e9f414572ee6a /Doc/c-api | |
parent | 3f561b791165c53f755e6aa35c7c10b48285eaae (diff) | |
parent | 4adf01caae967cc2962ba69b1a193875b84cfa4e (diff) | |
download | cpython-7d6dda4b783dc8720b354e5ede766fcb8407de14.zip cpython-7d6dda4b783dc8720b354e5ede766fcb8407de14.tar.gz cpython-7d6dda4b783dc8720b354e5ede766fcb8407de14.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. |