mirror of
https://github.com/python/cpython.git
synced 2026-01-26 12:55:08 +00:00
gh-94172: delete mention of ssl_version from ftplib doc (#143515)
`FTP_TLS.ssl_version` class attribute was removed in https://github.com/python/cpython/commit/ef0e72b31d2.
This commit is contained in:
parent
8565ddd288
commit
a1eedaee98
@ -524,14 +524,9 @@ FTP_TLS objects
|
||||
:class:`!FTP_TLS` class inherits from :class:`FTP`,
|
||||
defining these additional methods and attributes:
|
||||
|
||||
.. attribute:: FTP_TLS.ssl_version
|
||||
|
||||
The SSL version to use (defaults to :data:`ssl.PROTOCOL_SSLv23`).
|
||||
|
||||
.. method:: FTP_TLS.auth()
|
||||
|
||||
Set up a secure control connection by using TLS or SSL, depending on what
|
||||
is specified in the :attr:`ssl_version` attribute.
|
||||
Set up a secure control connection by using TLS.
|
||||
|
||||
.. versionchanged:: 3.4
|
||||
The method now supports hostname check with
|
||||
@ -548,7 +543,7 @@ FTP_TLS objects
|
||||
|
||||
.. method:: FTP_TLS.prot_p()
|
||||
|
||||
Set up secure data connection.
|
||||
Set up secure data connection by using TLS.
|
||||
|
||||
.. method:: FTP_TLS.prot_c()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user