bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)
diff --git a/Doc/library/imaplib.rst b/Doc/library/imaplib.rst
index 040dab6..d0709f8 100644
--- a/Doc/library/imaplib.rst
+++ b/Doc/library/imaplib.rst
@@ -39,7 +39,7 @@
The :class:`IMAP4` class supports the :keyword:`with` statement. When used
like this, the IMAP4 ``LOGOUT`` command is issued automatically when the
- :keyword:`with` statement exits. E.g.::
+ :keyword:`!with` statement exits. E.g.::
>>> from imaplib import IMAP4
>>> with IMAP4("domain.org") as M: