summaryrefslogtreecommitdiffstats
path: root/Doc/library/imaplib.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-21 11:49:39 (GMT)
committerGitHub <noreply@github.com>2023-07-21 11:49:39 (GMT)
commit84e52171b541ecc01f2d738cf82f5d4199a4bce7 (patch)
treed71b78f93d8cc1c1baa5c45435a75b130dfed5d2 /Doc/library/imaplib.rst
parent4be0f157ea7000ded8d4a3ae818a74b026f1fed3 (diff)
downloadcpython-84e52171b541ecc01f2d738cf82f5d4199a4bce7.zip
cpython-84e52171b541ecc01f2d738cf82f5d4199a4bce7.tar.gz
cpython-84e52171b541ecc01f2d738cf82f5d4199a4bce7.tar.bz2
[3.12] gh-106909: Use role :const: for referencing module constants (GH-106910) (GH-106956)
(cherry picked from commit 4b9948617f91175783609769aa6160e5b49b9ccc)
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)