Skip to content

Commit dd2ba7d

Browse files
virtualdhenryiii
andauthored
Update docs/advanced/exceptions.rst
Co-authored-by: Henry Schreiner <[email protected]>
1 parent 94dea97 commit dd2ba7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced/exceptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ exceptions was introduced:
338338
339339
To do a similar thing in pybind11, you can use the ``py::raise_from`` function. It
340340
sets the current python error indicator, so to continue propagating the exception
341-
you should ``throw py::error_already_set()``.
341+
you should ``throw py::error_already_set()`` (Python 3 only).
342342

343343
.. code-block:: cpp
344344

0 commit comments

Comments
 (0)