Skip to content

Commit 68833dc

Browse files
Clarify ValueError's broad applicability (GH-8313) (GH-8315)
(cherry picked from commit feabae9) Co-authored-by: Raymond Hettinger <[email protected]>
1 parent 6020d98 commit 68833dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/exceptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ The following exceptions are the exceptions that are usually raised.
525525

526526
.. exception:: ValueError
527527

528-
Raised when a built-in operation or function receives an argument that has the
528+
Raised when an operation or function receives an argument that has the
529529
right type but an inappropriate value, and the situation is not described by a
530530
more precise exception such as :exc:`IndexError`.
531531

0 commit comments

Comments
 (0)