https://github.com/python/cpython/commit/e973cbc19db8a4709a613e5a3e34a1348efd9db0
commit: e973cbc19db8a4709a613e5a3e34a1348efd9db0
branch: main
author: Alisher Muhammadaliyev <[email protected]>
committer: rhettinger <[email protected]>
date: 2026-11-08T17:29:08Z
summary:

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

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 efd6bb9e28c89ae..a1db1544c7bf4ed 100644
--- a/Doc/builtins/functions.rst
+++ b/Doc/builtins/functions.rst
@@ -1950,7 +1950,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 653a91c5cbedba1..8ed3428610fef48 100644
--- a/Doc/library/tkinter.rst
+++ b/Doc/library/tkinter.rst
@@ -6820,13 +6820,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