From b42f2af09079a909aede4589422dee6df29dc805 Mon Sep 17 00:00:00 2001 From: jiwaszki Date: Tue, 1 Oct 2024 00:35:41 +0200 Subject: [PATCH] Fix issue with docs --- docs/advanced/exceptions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced/exceptions.rst b/docs/advanced/exceptions.rst index 8660bcfde..2de70c948 100644 --- a/docs/advanced/exceptions.rst +++ b/docs/advanced/exceptions.rst @@ -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: