]> granicus.if.org Git - python/commitdiff
Clarify ValueError's broad applicability (GH-8313) (GH-8317)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 17 Jul 2018 20:24:27 +0000 (13:24 -0700)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Tue, 17 Jul 2018 20:24:27 +0000 (13:24 -0700)
(cherry picked from commit feabae961707b00008c15a31352e458f4e8b3a6c)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Doc/library/exceptions.rst

index a6b20a5ac95b1bb1ef84a0df15a51d0fd120b966..cfa1649d4d1ffb0ad49650de3068c24ec6f51a62 100644 (file)
@@ -524,7 +524,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`.