diff options
author | Jesus Cea <jcea@jcea.es> | 2012-12-26 15:47:40 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-12-26 15:47:40 (GMT) |
commit | aa24468c9b6336e0f665445f5552cb09eaba9697 (patch) | |
tree | 7b74bbc39b302dd0ba010b2a9eb0ef2c0b9da7f6 | |
parent | c8e7e2bb76b7ebd0206e915b1d20b1cf4e6a75e1 (diff) | |
parent | c73f863a8d5718bec54b6697fc156c8b6a30ca7d (diff) | |
download | cpython-aa24468c9b6336e0f665445f5552cb09eaba9697.zip cpython-aa24468c9b6336e0f665445f5552cb09eaba9697.tar.gz cpython-aa24468c9b6336e0f665445f5552cb09eaba9697.tar.bz2 |
MERGE: Closes #16789: :meth:`quit` links to constants instead of own module
-rw-r--r-- | Doc/library/ftplib.rst | 8 | ||||
-rw-r--r-- | Doc/library/poplib.rst | 2 | ||||
-rw-r--r-- | Doc/library/smtplib.rst | 3 |
3 files changed, 7 insertions, 6 deletions
diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst index 1419af7..abd8480 100644 --- a/Doc/library/ftplib.rst +++ b/Doc/library/ftplib.rst @@ -406,10 +406,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 diff --git a/Doc/library/poplib.rst b/Doc/library/poplib.rst index 01f680e..b4080d6 100644 --- a/Doc/library/poplib.rst +++ b/Doc/library/poplib.rst @@ -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) diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst index 711981f..40b2561 100644 --- a/Doc/library/smtplib.rst +++ b/Doc/library/smtplib.rst @@ -37,7 +37,8 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions). behavior 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. The :class:`SMTP` class supports the :keyword:`with` statement. When used like this, the SMTP ``QUIT`` command is issued automatically when the |