summaryrefslogtreecommitdiffstats
path: root/Doc/library/imaplib.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-21 09:40:37 (GMT)
committerGitHub <noreply@github.com>2023-07-21 09:40:37 (GMT)
commit4b9948617f91175783609769aa6160e5b49b9ccc (patch)
tree70ee26c5370423240516d52536ae9c23f64245c5 /Doc/library/imaplib.rst
parentd036db728ea3d54509cbad06df74e2d9a31fbec8 (diff)
downloadcpython-4b9948617f91175783609769aa6160e5b49b9ccc.zip
cpython-4b9948617f91175783609769aa6160e5b49b9ccc.tar.gz
cpython-4b9948617f91175783609769aa6160e5b49b9ccc.tar.bz2
gh-106909: Use role :const: for referencing module constants (GH-106910)
Diffstat (limited to 'Doc/library/imaplib.rst')
-rw-r--r--Doc/library/imaplib.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/imaplib.rst b/Doc/library/imaplib.rst
index 59d7711..1f774e6 100644
--- a/Doc/library/imaplib.rst
+++ b/Doc/library/imaplib.rst
@@ -106,7 +106,7 @@ There's also a subclass for secure connections:
.. versionchanged:: 3.4
The class now supports hostname check with
:attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
- :data:`ssl.HAS_SNI`).
+ :const:`ssl.HAS_SNI`).
.. versionchanged:: 3.9
The optional *timeout* parameter was added.
@@ -503,7 +503,7 @@ An :class:`IMAP4` instance has the following methods:
.. versionchanged:: 3.4
The method now supports hostname check with
:attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
- :data:`ssl.HAS_SNI`).
+ :const:`ssl.HAS_SNI`).
.. method:: IMAP4.status(mailbox, names)