We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94dea97 commit dd2ba7dCopy full SHA for dd2ba7d
docs/advanced/exceptions.rst
@@ -338,7 +338,7 @@ exceptions was introduced:
338
339
To do a similar thing in pybind11, you can use the ``py::raise_from`` function. It
340
sets the current python error indicator, so to continue propagating the exception
341
-you should ``throw py::error_already_set()``.
+you should ``throw py::error_already_set()`` (Python 3 only).
342
343
.. code-block:: cpp
344
0 commit comments