]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Closes #16789: :meth:`quit` links to constants instead of own module
authorJesus Cea <jcea@jcea.es>
Wed, 26 Dec 2012 15:47:03 +0000 (16:47 +0100)
committerJesus Cea <jcea@jcea.es>
Wed, 26 Dec 2012 15:47:03 +0000 (16:47 +0100)
Doc/library/ftplib.rst
Doc/library/poplib.rst
Doc/library/smtplib.rst

index a669b1ba966d2b73ce9737288506fb33368ccafd..3274f190524b97a50e513ccb8d859f330a0e3eb5 100644 (file)
@@ -377,10 +377,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 01f680e0a7a0f693f4276a7097a9449878a73169..b4080d61e8f003cdf78a2f780fd6895d6def7025 100644 (file)
@@ -105,7 +105,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 3101ab7284d106a499e46198b762b610b17a30a8..4a539fc5021060d94ea91aaf56811237a4a5d3ca 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.
 
 
 .. class:: SMTP_SSL(host='', port=0, local_hostname=None, keyfile=None, certfile=None[, timeout])