From 51ca6b08327810c0edfc70c0c1a3cc074dc39b5f Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Tue, 11 Jun 2019 22:47:37 +0200 Subject: [PATCH] Update docs on std::out_of_range exception mapping (#1254) --- docs/advanced/exceptions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`` | +--------------------------------------+--------------------------------------+