From 69a9dd0187b79269dced1edd2aba1416ce280762 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Wed, 7 Jan 2026 14:20:58 +0100 Subject: [PATCH] Remove FTP_TLS.ssl_version from ftplib doc --- Doc/library/ftplib.rst | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst index bb15322067245e..88eb0be9de88b8 100644 --- a/Doc/library/ftplib.rst +++ b/Doc/library/ftplib.rst @@ -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()