mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
[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 127a497852)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
This commit is contained in:
parent
3a588d09d5
commit
26f8a30de6
1 changed files with 1 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue