From 9d429761ab989d267cfc0d782c87d00c598242b2 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 17 Jul 2018 00:02:38 -0700 Subject: [PATCH] Clarify ValueError's broad applicability --- 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 42b99cc47e05f1..e33b88673f7533 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`.