Skip to content

Commit a1eedae

Browse files
authored
gh-94172: delete mention of ssl_version from ftplib doc (#143515)
`FTP_TLS.ssl_version` class attribute was removed in ef0e72b31d2.
1 parent 8565ddd commit a1eedae

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Doc/library/ftplib.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -524,14 +524,9 @@ FTP_TLS objects
524524
:class:`!FTP_TLS` class inherits from :class:`FTP`,
525525
defining these additional methods and attributes:
526526

527-
.. attribute:: FTP_TLS.ssl_version
528-
529-
The SSL version to use (defaults to :data:`ssl.PROTOCOL_SSLv23`).
530-
531527
.. method:: FTP_TLS.auth()
532528

533-
Set up a secure control connection by using TLS or SSL, depending on what
534-
is specified in the :attr:`ssl_version` attribute.
529+
Set up a secure control connection by using TLS.
535530

536531
.. versionchanged:: 3.4
537532
The method now supports hostname check with
@@ -548,7 +543,7 @@ FTP_TLS objects
548543

549544
.. method:: FTP_TLS.prot_p()
550545

551-
Set up secure data connection.
546+
Set up secure data connection by using TLS.
552547

553548
.. method:: FTP_TLS.prot_c()
554549

0 commit comments

Comments
 (0)