Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-104360: remove reference to removed module-level wrap_socket (GH-1…
…04361)

* remove reference to removed module-level wrap_socket
* drive by typo fix
(cherry picked from commit 127a497)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
  • Loading branch information
graingert authored and miss-islington committed Jan 24, 2024
commit 235d7a4d56c991150705eafa983e85eaa3e0187d
6 changes: 1 addition & 5 deletions Doc/library/ssl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2453,12 +2453,8 @@ provided.
:exc:`SSLWantReadError` if it needs more data than the incoming BIO has
available.

- There is no module-level ``wrap_bio()`` call like there is for
:meth:`~SSLContext.wrap_socket`. An :class:`SSLObject` is always created
via an :class:`SSLContext`.

.. versionchanged:: 3.7
:class:`SSLObject` instances must to created with
:class:`SSLObject` instances must be created with
:meth:`~SSLContext.wrap_bio`. In earlier versions, it was possible to
create instances directly. This was never documented or officially
supported.
Expand Down