mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Clarify ValueError's broad applicability (GH-8313)
This commit is contained in:
parent
28f07364f0
commit
feabae9617
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