Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c73f863

Browse files
committed
Closes #16789: :meth:quit links to constants instead of own module
1 parent 36852b7 commit c73f863

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

Doc/library/ftplib.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,10 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
377377
.. method:: FTP.close()
378378

379379
Close the connection unilaterally. This should not be applied to an already
380-
closed connection such as after a successful call to :meth:`quit`. After this
381-
call the :class:`FTP` instance should not be used any more (after a call to
382-
:meth:`close` or :meth:`quit` you cannot reopen the connection by issuing
383-
another :meth:`login` method).
380+
closed connection such as after a successful call to :meth:`~FTP.quit`.
381+
After this call the :class:`FTP` instance should not be used any more (after
382+
a call to :meth:`close` or :meth:`~FTP.quit` you cannot reopen the
383+
connection by issuing another :meth:`login` method).
384384

385385

386386
FTP_TLS Objects

Doc/library/poplib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ An :class:`POP3` instance has the following methods:
105105
.. method:: POP3.pass_(password)
106106

107107
Send password, response includes message count and mailbox size. Note: the
108-
mailbox on the server is locked until :meth:`quit` is called.
108+
mailbox on the server is locked until :meth:`~poplib.quit` is called.
109109

110110

111111
.. method:: POP3.apop(user, secret)

Doc/library/smtplib.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
3232
setting will be used).
3333

3434
For normal use, you should only require the initialization/connect,
35-
:meth:`sendmail`, and :meth:`quit` methods. An example is included below.
35+
:meth:`sendmail`, and :meth:`~smtplib.quit` methods.
36+
An example is included below.
3637

3738

3839
.. class:: SMTP_SSL(host='', port=0, local_hostname=None, keyfile=None, certfile=None[, timeout])

0 commit comments

Comments
 (0)