Commit 4f9ee6e4 by Jason Rhinelander

Fix exception reference error

:exc: isn't valid.
parent 39b9e04b
...@@ -432,7 +432,7 @@ To explicitly enable or disable this behaviour, using the ...@@ -432,7 +432,7 @@ To explicitly enable or disable this behaviour, using the
}, py::arg("cat").none(false)); }, py::arg("cat").none(false));
With the above, the Python call ``bark(None)`` will return the string ``"(no With the above, the Python call ``bark(None)`` will return the string ``"(no
dog)"``, while attempting to call ``meow(None)`` will throw a :exc:`TypeError`: dog)"``, while attempting to call ``meow(None)`` will raise a ``TypeError``:
.. code-block:: pycon .. code-block:: pycon
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment