Fix issue with docs

This commit is contained in:
jiwaszki 2024-10-01 00:35:41 +02:00
parent 706ece4ba5
commit b42f2af090

View File

@ -332,8 +332,8 @@ Handling warnings from the Python C API
=====================================
Wrappers for handling Python warnings are implemented in ``pybind11/warnings.h``,
which must be ``#include``ed explicitly (in other words, it is not transitively
included with ``pybind11/pybind11.h``).
which means that ``#include`` must be added explicitly (in other words, it is not
transitively included with ``pybind11/pybind11.h``).
Warnings can be raised with the ``warn`` function: