diff --git a/docs/api_core.rst b/docs/api_core.rst index c1fe8384..be5d1216 100644 --- a/docs/api_core.rst +++ b/docs/api_core.rst @@ -902,7 +902,7 @@ Wrapper classes This wrapper class represents Python ``bool`` instances. - .. cpp:function:: int_(handle h) + .. cpp:function:: bool_(handle h) Performs a boolean cast within Python. This is equivalent to the Python expression ``bool(h)``.