https://github.com/python/cpython/commit/3b5bd6d0dcd04cdcab61717e73ddfb11d3b9868c
commit: 3b5bd6d0dcd04cdcab61717e73ddfb11d3b9868c
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: rhettinger <[email protected]>
date: 2026-11-08T11:39:42-06:00
summary:

[3.15] gh-161077: Replace "truthy"/"falsy" with "true"/"false" in the docs 
(gh-161436) (gh-161629)

files:
M Doc/builtins/functions.rst
M Doc/library/smtplib.rst
M Doc/library/tkinter.rst

diff --git a/Doc/builtins/functions.rst b/Doc/builtins/functions.rst
index ea5560c5ebfa042..2d36fc94549af10 100644
--- a/Doc/builtins/functions.rst
+++ b/Doc/builtins/functions.rst
@@ -1885,7 +1885,7 @@ are always available.  They are listed here in 
alphabetical order.
       >>> MISSING
       <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.
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst
index 5c97199bc453e85..fe58c7fd2414fe0 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.
 
diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst
index 216cee8e0dacc5a..e56697e29ce739b 100644
--- a/Doc/library/tkinter.rst
+++ b/Doc/library/tkinter.rst
@@ -6564,13 +6564,13 @@ and :mod:`!tkinter.constants` namespaces.
           YES
           ON
 
-   Truthy values, all equal to the integer ``1``.
+   Values that are true, all equal to the integer ``1``.
 
 .. data:: FALSE
           NO
           OFF
 
-   Falsy values, all equal to the integer ``0``.
+   Values that are false, all equal to the integer ``0``.
 
 .. data:: N
           S

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to