diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-07-17 20:24:27 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-07-17 20:24:27 (GMT) |
commit | c774f76d21661ac60601974f3c5bd6cf34709e72 (patch) | |
tree | 064532123420df715fd5830f0bb6887a106d1b28 | |
parent | cf30d5c5b88276a9af863438839ba386b9723a14 (diff) | |
download | cpython-c774f76d21661ac60601974f3c5bd6cf34709e72.zip cpython-c774f76d21661ac60601974f3c5bd6cf34709e72.tar.gz cpython-c774f76d21661ac60601974f3c5bd6cf34709e72.tar.bz2 |
Clarify ValueError's broad applicability (GH-8313) (GH-8317)
(cherry picked from commit feabae961707b00008c15a31352e458f4e8b3a6c)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
-rw-r--r-- | Doc/library/exceptions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index a6b20a5..cfa1649 100644 --- a/Doc/library/exceptions.rst +++ b/Doc/library/exceptions.rst @@ -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`. |