From feabae961707b00008c15a31352e458f4e8b3a6c Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 17 Jul 2018 08:35:26 -0700 Subject: Clarify ValueError's broad applicability (GH-8313) --- Doc/library/exceptions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index 42b99cc..e33b886 100644 --- a/Doc/library/exceptions.rst +++ b/Doc/library/exceptions.rst @@ -525,7 +525,7 @@ The following exceptions are the exceptions that are usually raised. .. exception:: ValueError - Raised when a built-in operation or function receives an argument that has the + Raised when an operation or function receives an argument that has the right type but an inappropriate value, and the situation is not described by a more precise exception such as :exc:`IndexError`. -- cgit v0.12