summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-07-17 13:23:52 -0700
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2018-07-17 13:23:52 -0700
commit1fb24b6e8395a70f7b6daf7af40065ab8177b8c4 (patch)
tree03aa2038f278421823ae5ec2ecde8f46c0e9135b
parentfc153d127901361d7fe5f60caa6f41d2b8db0eb0 (diff)
downloadcpython-git-1fb24b6e8395a70f7b6daf7af40065ab8177b8c4.tar.gz
Clarify ValueError's broad applicability (GH-8313) (GH-8316)
(cherry picked from commit feabae961707b00008c15a31352e458f4e8b3a6c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
-rw-r--r--Doc/library/exceptions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index fe14656008..8757c6cb44 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -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`.