Linkify SMTP.quit() in smtplib documentation. (GH-9785)
(cherry picked from commit ba57963a95a994947b8bec6869e810a74a751278)
Co-authored-by: takey <taketakeyyy@gmail.com>
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst
index 6fb0934..f59c184 100644
--- a/Doc/library/smtplib.rst
+++ b/Doc/library/smtplib.rst
@@ -41,7 +41,7 @@
the OS default behavior will be used.
For normal use, you should only require the initialization/connect,
- :meth:`sendmail`, and :meth:`~smtplib.quit` methods.
+ :meth:`sendmail`, and :meth:`SMTP.quit` methods.
An example is included below.
The :class:`SMTP` class supports the :keyword:`with` statement. When used