Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/builtins/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1945,7 +1945,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.
Expand Down
4 changes: 2 additions & 2 deletions Doc/library/smtplib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions Doc/library/tkinter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading