Skip to content

gh-104773: PEP 594: Remove the nntplib module #104894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2023
Merged
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
4 changes: 2 additions & 2 deletions Doc/library/email.generator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

One of the most common tasks is to generate the flat (serialized) version of
the email message represented by a message object structure. You will need to
do this if you want to send your message via :meth:`smtplib.SMTP.sendmail` or
the :mod:`nntplib` module, or print the message on the console. Taking a
do this if you want to send your message via :meth:`smtplib.SMTP.sendmail`,
or print the message on the console. Taking a
message object structure and producing a serialized representation is the job
of the generator classes.

Expand Down
5 changes: 1 addition & 4 deletions Doc/library/email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
The :mod:`email` package is a library for managing email messages. It is
specifically *not* designed to do any sending of email messages to SMTP
(:rfc:`2821`), NNTP, or other servers; those are functions of modules such as
:mod:`smtplib` and :mod:`nntplib`. The :mod:`email` package attempts to be as
:mod:`smtplib`. The :mod:`email` package attempts to be as
RFC-compliant as possible, supporting :rfc:`5322` and :rfc:`6532`, as well as
such MIME-related RFCs as :rfc:`2045`, :rfc:`2046`, :rfc:`2047`, :rfc:`2183`,
and :rfc:`2231`.
Expand Down Expand Up @@ -141,9 +141,6 @@ Legacy API:
Module :mod:`imaplib`
IMAP (Internet Message Access Protocol) client

Module :mod:`nntplib`
NNTP (Net News Transport Protocol) client

Module :mod:`mailbox`
Tools for creating, reading, and managing collections of messages on disk
using a variety standard formats.
Loading