Clarify ValueError's broad applicability (GH-8313) (GH-8316)
(cherry picked from commit feabae9617
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
This commit is contained in:
parent
fc153d1279
commit
1fb24b6e83
|
@ -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`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue