]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Clarify ValueError's broad applicability (GH-8313) (GH-8316)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 17 Jul 2018 20:23:52 +0000 (13:23 -0700)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Tue, 17 Jul 2018 20:23:52 +0000 (13:23 -0700)
(cherry picked from commit feabae961707b00008c15a31352e458f4e8b3a6c)

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

index fe14656008177f99c54aa71a66962648f9c0e861..8757c6cb44682e8706a15abc191e017db3a2b832 100644 (file)
@@ -439,7 +439,7 @@ The following exceptions are the exceptions that are actually 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`.