Skip to content

Commit 4f9ee6e

Browse files
committed
Fix exception reference error
:exc: isn't valid.
1 parent 39b9e04 commit 4f9ee6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ To explicitly enable or disable this behaviour, using the
432432
}, py::arg("cat").none(false));
433433
434434
With the above, the Python call ``bark(None)`` will return the string ``"(no
435-
dog)"``, while attempting to call ``meow(None)`` will throw a :exc:`TypeError`:
435+
dog)"``, while attempting to call ``meow(None)`` will raise a ``TypeError``:
436436

437437
.. code-block:: pycon
438438

0 commit comments

Comments
 (0)