Skip to content

Commit

Permalink
Update docs/advanced/exceptions.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
  • Loading branch information
virtuald and henryiii authored Jul 26, 2021
1 parent 94dea97 commit dd2ba7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ exceptions was introduced:
To do a similar thing in pybind11, you can use the ``py::raise_from`` function. It
sets the current python error indicator, so to continue propagating the exception
you should ``throw py::error_already_set()``.
you should ``throw py::error_already_set()`` (Python 3 only).

.. code-block:: cpp
Expand Down

0 comments on commit dd2ba7d

Please sign in to comment.