@@ -878,7 +878,7 @@ size of decompressed data. (Contributed by Nikolaus Rath in :issue:`15955`.)
878878cgi
879879---
880880
881- The :class: `~cgi. FieldStorage ` class now supports the :term: `context manager `
881+ The :class: `! FieldStorage ` class now supports the :term: `context manager `
882882protocol. (Contributed by Berker Peksag in :issue: `20289 `.)
883883
884884
@@ -1663,34 +1663,34 @@ during debugging, instead of integer "magic numbers".
16631663smtpd
16641664-----
16651665
1666- Both the :class: `~smtpd. SMTPServer ` and :class: `~smtpd. SMTPChannel ` classes now
1666+ Both the :class: `! SMTPServer ` and :class: `! SMTPChannel ` classes now
16671667accept a *decode_data * keyword argument to determine if the ``DATA `` portion of
16681668the SMTP transaction is decoded using the ``"utf-8" `` codec or is instead
16691669provided to the
1670- :meth: `SMTPServer.process_message() <smtpd.SMTPServer.process_message> `
1670+ :meth: `! SMTPServer.process_message() `
16711671method as a byte string. The default is ``True `` for backward compatibility
16721672reasons, but will change to ``False `` in Python 3.6. If *decode_data * is set
16731673to ``False ``, the ``process_message `` method must be prepared to accept keyword
16741674arguments.
16751675(Contributed by Maciej Szulik in :issue: `19662 `.)
16761676
1677- The :class: `~smtpd. SMTPServer ` class now advertises the ``8BITMIME `` extension
1677+ The :class: `! SMTPServer ` class now advertises the ``8BITMIME `` extension
16781678(:rfc: `6152 `) if *decode_data * has been set ``True ``. If the client
16791679specifies ``BODY=8BITMIME `` on the ``MAIL `` command, it is passed to
1680- :meth: `SMTPServer.process_message() <smtpd.SMTPServer.process_message> `
1680+ :meth: `! SMTPServer.process_message() `
16811681via the *mail_options * keyword.
16821682(Contributed by Milan Oberkirch and R. David Murray in :issue: `21795 `.)
16831683
1684- The :class: `~smtpd. SMTPServer ` class now also supports the ``SMTPUTF8 ``
1684+ The :class: `! SMTPServer ` class now also supports the ``SMTPUTF8 ``
16851685extension (:rfc: `6531 `: Internationalized Email). If the client specified
16861686``SMTPUTF8 BODY=8BITMIME `` on the ``MAIL `` command, they are passed to
1687- :meth: `SMTPServer.process_message() <smtpd.SMTPServer.process_message> `
1687+ :meth: `! SMTPServer.process_message() `
16881688via the *mail_options * keyword. It is the responsibility of the
16891689``process_message `` method to correctly handle the ``SMTPUTF8 `` data.
16901690(Contributed by Milan Oberkirch in :issue: `21725 `.)
16911691
16921692It is now possible to provide, directly or via name resolution, IPv6
1693- addresses in the :class: `~smtpd. SMTPServer ` constructor, and have it
1693+ addresses in the :class: `! SMTPServer ` constructor, and have it
16941694successfully connect. (Contributed by Milan Oberkirch in :issue: `14758 `.)
16951695
16961696
@@ -1714,7 +1714,7 @@ support :rfc:`6531` (SMTPUTF8).
17141714sndhdr
17151715------
17161716
1717- The :func: `~sndhdr. what ` and :func: `~sndhdr. whathdr ` functions now return
1717+ The :func: `! what ` and :func: `! whathdr ` functions now return
17181718a :func: `~collections.namedtuple `. (Contributed by Claudiu Popa in
17191719:issue: `18615 `.)
17201720
@@ -2296,9 +2296,9 @@ slated for removal in Python 3.6.
22962296The :func: `asyncio.async ` function is deprecated in favor of
22972297:func: `~asyncio.ensure_future `.
22982298
2299- The :mod: `smtpd ` module has in the past always decoded the DATA portion of
2299+ The :mod: `! smtpd ` module has in the past always decoded the DATA portion of
23002300email messages using the ``utf-8 `` codec. This can now be controlled by the
2301- new *decode_data * keyword to :class: `~smtpd. SMTPServer `. The default value is
2301+ new *decode_data * keyword to :class: `! SMTPServer `. The default value is
23022302``True ``, but this default is deprecated. Specify the *decode_data * keyword
23032303with an appropriate value to avoid the deprecation warning.
23042304
0 commit comments