From 82bbeddef4e3c18ad961438b66e1fa75e959b16c Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Sat, 24 Apr 2021 12:01:07 +0800 Subject: [PATCH] bpo-43928: Fix the typo in documentation The boolean predicate was typo in documentation. --- Doc/c-api/arg.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index 1d93b35dc1c8846..c193a59cd949c0d 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -350,7 +350,7 @@ Other objects ``Py_CLEANUP_SUPPORTED`` was added. ``p`` (:class:`bool`) [int] - Tests the value passed in for truth (a boolean **p**\ redicate) and converts + Tests the value passed in for truth (a boolean **p**\ predicate) 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. This accepts any valid Python value. See :ref:`truth` for more