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] 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)