Skip to content

Commit 8590434

Browse files
committed
add more explanation for PyBool_Check func in ./Doc/c-api/bool.rst
1 parent aa4b5a7 commit 8590434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/bool.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ are available, however.
2020
.. c:function:: int PyBool_Check(PyObject *o)
2121
2222
Return true if *o* is of type :c:data:`PyBool_Type`. This function always
23-
succeeds.
23+
succeeds and always returns a valid boolean value.
2424
2525
2626
.. c:var:: PyObject* Py_False

0 commit comments

Comments
 (0)