[Python-checkins] Clarify ValueError's broad applicability (GH-8313)

Raymond Hettinger webhook-mailer at python.org
Tue Jul 17 11:35:32 EDT 2018


https://github.com/python/cpython/commit/feabae961707b00008c15a31352e458f4e8b3a6c
commit: feabae961707b00008c15a31352e458f4e8b3a6c
branch: master
author: Raymond Hettinger <rhettinger at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-07-17T08:35:26-07:00
summary:

Clarify ValueError's broad applicability (GH-8313)

files:
M Doc/library/exceptions.rst

diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 42b99cc47e05..e33b88673f75 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -525,7 +525,7 @@ The following exceptions are the exceptions that are usually 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`.
 



More information about the Python-checkins mailing list