From 5b0578b0a898b73315f5c94300bb97d16962e21a Mon Sep 17 00:00:00 2001 From: Stefan Pochmann <609905+pochmann@users.noreply.github.com> Date: Sat, 3 Oct 2026 18:04:22 +0200 Subject: [PATCH 1/3] Fix "truthy" in smtplib.rst --- Doc/library/smtplib.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst index 5c97199bc453e8..fe58c7fd2414fe 100644 --- a/Doc/library/smtplib.rst +++ b/Doc/library/smtplib.rst @@ -24,7 +24,7 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions). An :class:`SMTP` instance encapsulates an SMTP connection. It has methods that support a full repertoire of SMTP and ESMTP operations. - If the host parameter is set to a truthy value, :meth:`SMTP.connect` is called with + If the host parameter is set to a true value, :meth:`SMTP.connect` is called with host and port automatically when the object is created; otherwise, :meth:`!connect` must be called manually. @@ -88,7 +88,7 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions). required from the beginning of the connection and using :meth:`SMTP.starttls` is not appropriate. - If the host parameter is set to a truthy value, :meth:`SMTP.connect` is called with host + If the host parameter is set to a true value, :meth:`SMTP.connect` is called with host and port automatically when the object is created; otherwise, :meth:`!SMTP.connect` must be called manually. From 20a9a732c31b676a9df9a28b1198c302b298ba49 Mon Sep 17 00:00:00 2001 From: Stefan Pochmann <609905+pochmann@users.noreply.github.com> Date: Sat, 3 Oct 2026 18:10:46 +0200 Subject: [PATCH 2/3] Fix "Truthy"/"Falsy" in tkinter.rst --- Doc/library/tkinter.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index a6a30928ce83d2..b7e6bf50d4180c 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -6747,13 +6747,13 @@ and :mod:`!tkinter.constants` namespaces. YES ON - Truthy values, all equal to the integer ``1``. + True values, all equal to the integer ``1``. .. data:: FALSE NO OFF - Falsy values, all equal to the integer ``0``. + False values, all equal to the integer ``0``. .. data:: N S From ded1b3e354f3677abec8bd8d50ac58c2ac6c1078 Mon Sep 17 00:00:00 2001 From: Stefan Pochmann <609905+pochmann@users.noreply.github.com> Date: Sat, 3 Oct 2026 18:13:02 +0200 Subject: [PATCH 3/3] Fix "truthy" in functions.rst --- Doc/builtins/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/builtins/functions.rst b/Doc/builtins/functions.rst index ece666030db981..e34bab1e3bb935 100644 --- a/Doc/builtins/functions.rst +++ b/Doc/builtins/functions.rst @@ -1945,7 +1945,7 @@ are always available. They are listed here in alphabetical order. >>> MISSING - Sentinel objects are truthy and compare equal only to themselves. They are + Sentinel objects are true and compare equal only to themselves. They are intended to be compared with the :keyword:`is` operator. ``sentinel`` does not support subclassing.