FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-94172: delete mention of ssl_version from ftplib doc by giampaolo · Pull Request #143515 · python/cpython · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
9 changes: 2 additions & 7 deletions Doc/library/ftplib.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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()

Expand Down
Loading

Back | FazBrowse Home | New Git URL