Skip to content

Commit 51ca6b0

Browse files
committed
Update docs on std::out_of_range exception mapping (#1254)
1 parent e11e71d commit 51ca6b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced/exceptions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ exceptions:
2424
+--------------------------------------+--------------------------------------+
2525
| :class:`std::length_error` | ``ValueError`` |
2626
+--------------------------------------+--------------------------------------+
27-
| :class:`std::out_of_range` | ``ValueError`` |
27+
| :class:`std::out_of_range` | ``IndexError`` |
2828
+--------------------------------------+--------------------------------------+
2929
| :class:`std::range_error` | ``ValueError`` |
3030
+--------------------------------------+--------------------------------------+

0 commit comments

Comments
 (0)