mirror of
https://github.com/python/cpython.git
synced 2026-04-23 12:21:01 +00:00
Clarify ValueError's broad applicability (GH-8313) (GH-8315)
(cherry picked from commit feabae9617)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
This commit is contained in:
parent
6020d98bea
commit
68833dcbd4
1 changed files with 1 additions and 1 deletions
|
|
@ -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`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue