From baef36bfffb9ce788afddd2f9366b92cf9e2b581 Mon Sep 17 00:00:00 2001 From: William Andrea <22385371+wjandrea@users.noreply.github.com> Date: Sat, 12 Jul 2025 11:08:32 -0300 Subject: [PATCH 1/2] grammar in logging.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix typo: "due to retain" → "in order to retain" "in order" is grammatically redundant, but it's to avoid having homophones "2" and "to" right next to each other. --- Doc/library/logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 4509da5891685f..e37683e32d01f4 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -1317,7 +1317,7 @@ functions. In Python versions earlier than 3.4, this function could also be passed a text level, and would return the corresponding numeric value of the level. This undocumented behaviour was considered a mistake, and was removed in - Python 3.4, but reinstated in 3.4.2 due to retain backward compatibility. + Python 3.4, but reinstated in 3.4.2 in order to retain backward compatibility. .. function:: getHandlerByName(name) From 104e6b61dac30ffbaa7836437a591577e04705a9 Mon Sep 17 00:00:00 2001 From: William Andrea <22385371+wjandrea@users.noreply.github.com> Date: Sat, 12 Jul 2025 11:14:06 -0300 Subject: [PATCH 2/2] Clarify version number in logging.rst 3.4 technically includes 3.4.2, so put 3.4.0 to clarify. --- Doc/library/logging.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index e37683e32d01f4..17ab0a4f49c104 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -1314,10 +1314,10 @@ functions. vice versa. .. versionchanged:: 3.4 - In Python versions earlier than 3.4, this function could also be passed a + In Python versions earlier than 3.4.0, this function could also be passed a text level, and would return the corresponding numeric value of the level. This undocumented behaviour was considered a mistake, and was removed in - Python 3.4, but reinstated in 3.4.2 in order to retain backward compatibility. + Python 3.4.0, but reinstated in 3.4.2 in order to retain backward compatibility. .. function:: getHandlerByName(name) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy