Skip to content

Commit 1fb24b6

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

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
@@ -439,7 +439,7 @@ The following exceptions are the exceptions that are actually raised.
439439

440440
.. exception:: ValueError
441441

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

0 commit comments

Comments
 (0)