diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 18:30:05 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 18:30:05 +0300 |
commit | 4adf01caae967cc2962ba69b1a193875b84cfa4e (patch) | |
tree | d24ebeef0b580c788fa50af7e2e1588f3e16a337 /Doc/c-api | |
parent | 1883542eb95e7e40c2817cdd211206078c7087d7 (diff) | |
download | cpython-git-4adf01caae967cc2962ba69b1a193875b84cfa4e.tar.gz |
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 9bcb649c9d..4a2d931dff 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. |