summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/arg.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-27 18:42:15 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-27 18:42:15 (GMT)
commit159f97b2d7aba6f2d5cdc7f6155298ca33626762 (patch)
tree5589522fd39e1c286838ba93491f3deecc69db98 /Doc/c-api/arg.rst
parent0093907f0ed88c6aa3561cc4328154ae907bc976 (diff)
parent1ecf7d204dd3abb143f53851c31fefd4ef887314 (diff)
downloadcpython-159f97b2d7aba6f2d5cdc7f6155298ca33626762.zip
cpython-159f97b2d7aba6f2d5cdc7f6155298ca33626762.tar.gz
cpython-159f97b2d7aba6f2d5cdc7f6155298ca33626762.tar.bz2
Issue #28496: Mark up constants 0, 1 and -1 that denote return values or
special input values as literal text.
Diffstat (limited to 'Doc/c-api/arg.rst')
-rw-r--r--Doc/c-api/arg.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst
index 569903f..e8e7e0d 100644
--- a/Doc/c-api/arg.rst
+++ b/Doc/c-api/arg.rst
@@ -338,7 +338,7 @@ Other objects
``p`` (:class:`bool`) [int]
Tests the value passed in for truth (a boolean **p**\ redicate) and converts
the result to its equivalent C true/false integer value.
- Sets the int to 1 if the expression was true and 0 if it was false.
+ Sets the int to ``1`` if the expression was true and ``0`` if it was false.
This accepts any valid Python value. See :ref:`truth` for more
information about how Python tests values for truth.