Commit feabae96 authored by Raymond Hettinger's avatar Raymond Hettinger Committed by GitHub

Clarify ValueError's broad applicability (GH-8313)

parent 28f07364
...@@ -525,7 +525,7 @@ The following exceptions are the exceptions that are usually raised. ...@@ -525,7 +525,7 @@ The following exceptions are the exceptions that are usually raised.
.. exception:: ValueError .. 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 right type but an inappropriate value, and the situation is not described by a
more precise exception such as :exc:`IndexError`. more precise exception such as :exc:`IndexError`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment