bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602)
I think that none of these API calls can fail, but only few of them are
documented as such. Add the sentence "This function always succeeds" (which is
the same already used e.g. by PyNumber_Check) to all of them.
diff --git a/Doc/c-api/bool.rst b/Doc/c-api/bool.rst
index ce8de6e..c197d44 100644
--- a/Doc/c-api/bool.rst
+++ b/Doc/c-api/bool.rst
@@ -13,7 +13,8 @@
.. c:function:: int PyBool_Check(PyObject *o)
- Return true if *o* is of type :c:data:`PyBool_Type`.
+ Return true if *o* is of type :c:data:`PyBool_Type`. This function always
+ succeeds.
.. c:var:: PyObject* Py_False