mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Closes #16789: :meth:quit
links to constants instead of own module
This commit is contained in:
parent
2f01e239cb
commit
4947049b40
3 changed files with 7 additions and 6 deletions
|
@ -370,10 +370,10 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
|
||||||
.. method:: FTP.close()
|
.. method:: FTP.close()
|
||||||
|
|
||||||
Close the connection unilaterally. This should not be applied to an already
|
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
|
closed connection such as after a successful call to :meth:`~FTP.quit`.
|
||||||
call the :class:`FTP` instance should not be used any more (after a call to
|
After this call the :class:`FTP` instance should not be used any more (after
|
||||||
:meth:`close` or :meth:`quit` you cannot reopen the connection by issuing
|
a call to :meth:`close` or :meth:`~FTP.quit` you cannot reopen the
|
||||||
another :meth:`login` method).
|
connection by issuing another :meth:`login` method).
|
||||||
|
|
||||||
|
|
||||||
FTP_TLS Objects
|
FTP_TLS Objects
|
||||||
|
|
|
@ -102,7 +102,7 @@ An :class:`POP3` instance has the following methods:
|
||||||
.. method:: POP3.pass_(password)
|
.. method:: POP3.pass_(password)
|
||||||
|
|
||||||
Send password, response includes message count and mailbox size. Note: the
|
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)
|
.. method:: POP3.apop(user, secret)
|
||||||
|
|
|
@ -32,7 +32,8 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
|
||||||
setting will be used).
|
setting will be used).
|
||||||
|
|
||||||
For normal use, you should only require the initialization/connect,
|
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
|
.. versionchanged:: 2.6
|
||||||
*timeout* was added.
|
*timeout* was added.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue