]> granicus.if.org Git - python/commitdiff
Closes #16789: :meth:`quit` links to constants instead of own module
authorJesus Cea <jcea@jcea.es>
Wed, 26 Dec 2012 15:46:04 +0000 (16:46 +0100)
committerJesus Cea <jcea@jcea.es>
Wed, 26 Dec 2012 15:46:04 +0000 (16:46 +0100)
Doc/library/ftplib.rst
Doc/library/poplib.rst
Doc/library/smtplib.rst

index b8f5b4e6959306f4bc761223b4140a2f0ce99c4c..988278952b537fc02384f64d373d4b81632efa2b 100644 (file)
@@ -370,10 +370,10 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
 .. method:: FTP.close()
 
    Close the connection unilaterally.  This should not be applied to an already
-   closed connection such as after a successful call to :meth:`quit`.  After this
-   call the :class:`FTP` instance should not be used any more (after a call to
-   :meth:`close` or :meth:`quit` you cannot reopen the connection by issuing
-   another :meth:`login` method).
+   closed connection such as after a successful call to :meth:`~FTP.quit`.
+   After this call the :class:`FTP` instance should not be used any more (after
+   a call to :meth:`close` or :meth:`~FTP.quit` you cannot reopen the
+   connection by issuing another :meth:`login` method).
 
 
 FTP_TLS Objects
index ca77e6e8653821cfca7cbf179d34c335ed985a87..07c243fde933c9a9c33390bc284a55024f04b315 100644 (file)
@@ -102,7 +102,7 @@ An :class:`POP3` instance has the following methods:
 .. method:: POP3.pass_(password)
 
    Send password, response includes message count and mailbox size. Note: the
-   mailbox on the server is locked until :meth:`quit` is called.
+   mailbox on the server is locked until :meth:`~poplib.quit` is called.
 
 
 .. method:: POP3.apop(user, secret)
index b0b58e8e8a11e642ef8925ca802649565f1916b0..044bbde28b84c13e1a34ee1e32d9b714f8f4f3c7 100644 (file)
@@ -32,7 +32,8 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
    setting will be used).
 
    For normal use, you should only require the initialization/connect,
-   :meth:`sendmail`, and :meth:`quit` methods.  An example is included below.
+   :meth:`sendmail`, and :meth:`~smtplib.quit` methods.
+   An example is included below.
 
    .. versionchanged:: 2.6
       *timeout* was added.