Skip to content

Commit 4df116f

Browse files
graingertmiss-islington
authored andcommitted
pythongh-104360: remove reference to removed module-level wrap_socket (pythonGH-104361)
* 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>
1 parent aa17d91 commit 4df116f

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Doc/library/ssl.rst

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

2551-
- There is no module-level ``wrap_bio()`` call like there is for
2552-
:meth:`~SSLContext.wrap_socket`. An :class:`SSLObject` is always created
2553-
via an :class:`SSLContext`.
2554-
25552551
.. versionchanged:: 3.7
2556-
:class:`SSLObject` instances must to created with
2552+
:class:`SSLObject` instances must be created with
25572553
:meth:`~SSLContext.wrap_bio`. In earlier versions, it was possible to
25582554
create instances directly. This was never documented or officially
25592555
supported.

0 commit comments

Comments
 (0)