diff --git a/docs/advanced/exceptions.rst b/docs/advanced/exceptions.rst index 629af4aac..75ac24ae9 100644 --- a/docs/advanced/exceptions.rst +++ b/docs/advanced/exceptions.rst @@ -24,7 +24,7 @@ exceptions: +--------------------------------------+--------------------------------------+ | :class:`std::length_error` | ``ValueError`` | +--------------------------------------+--------------------------------------+ -| :class:`std::out_of_range` | ``ValueError`` | +| :class:`std::out_of_range` | ``IndexError`` | +--------------------------------------+--------------------------------------+ | :class:`std::range_error` | ``ValueError`` | +--------------------------------------+--------------------------------------+