Skip to content

Commit 26f8a30

Browse files
[3.12] gh-104360: remove reference to removed module-level wrap_socket (GH-104361) (GH-114528)
* 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 3a588d0 commit 26f8a30

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
@@ -2453,12 +2453,8 @@ provided.
24532453
:exc:`SSLWantReadError` if it needs more data than the incoming BIO has
24542454
available.
24552455

2456-
- There is no module-level ``wrap_bio()`` call like there is for
2457-
:meth:`~SSLContext.wrap_socket`. An :class:`SSLObject` is always created
2458-
via an :class:`SSLContext`.
2459-
24602456
.. versionchanged:: 3.7
2461-
:class:`SSLObject` instances must to created with
2457+
:class:`SSLObject` instances must be created with
24622458
:meth:`~SSLContext.wrap_bio`. In earlier versions, it was possible to
24632459
create instances directly. This was never documented or officially
24642460
supported.

0 commit comments

Comments
 (0)