Skip to content

Commit 127a497

Browse files
authored
gh-104360: remove reference to removed module-level wrap_socket (GH-104361)
* remove reference to removed module-level wrap_socket * drive by typo fix
1 parent 51d9068 commit 127a497

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Doc/library/ssl.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2574,12 +2574,8 @@ provided.
25742574
:exc:`SSLWantReadError` if it needs more data than the incoming BIO has
25752575
available.
25762576

2577-
- There is no module-level ``wrap_bio()`` call like there is for
2578-
:meth:`~SSLContext.wrap_socket`. An :class:`SSLObject` is always created
2579-
via an :class:`SSLContext`.
2580-
25812577
.. versionchanged:: 3.7
2582-
:class:`SSLObject` instances must to created with
2578+
:class:`SSLObject` instances must be created with
25832579
:meth:`~SSLContext.wrap_bio`. In earlier versions, it was possible to
25842580
create instances directly. This was never documented or officially
25852581
supported.

0 commit comments

Comments
 (0)