]> granicus.if.org Git - python/commitdiff
Clarify ValueError's broad applicability (GH-8313)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Tue, 17 Jul 2018 15:35:26 +0000 (08:35 -0700)
committerGitHub <noreply@github.com>
Tue, 17 Jul 2018 15:35:26 +0000 (08:35 -0700)
Doc/library/exceptions.rst

index 42b99cc47e05f19cfc928703d1c2fa43a8666995..e33b88673f75335f819794ebe2732ccbda3ea0d6 100644 (file)
@@ -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`.