https://github.com/python/cpython/commit/26f8a30de6744555b9bf6bdb4c1603b4b84cf0d3 commit: 26f8a30de6744555b9bf6bdb4c1603b4b84cf0d3 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: encukou <[email protected]> date: 2024-01-24T14:31:34Z summary:
[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 127a49785247ac8af158b18e38b722e520054d71) Co-authored-by: Thomas Grainger <[email protected]> files: M Doc/library/ssl.rst diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 31ebd788a8fe4c..4caee84985a027 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -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. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
