Skip to content

Commit feabae9

Browse files
authored
Clarify ValueError's broad applicability (GH-8313)
1 parent 28f0736 commit feabae9

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)