Clarify ValueError's broad applicability (GH-8313)
This commit is contained in:
parent
28f07364f0
commit
feabae9617
|
@ -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…
Reference in New Issue