]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-104360: remove reference to removed module-level wrap_socket (GH-104361...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 Jan 2024 14:31:34 +0000 (15:31 +0100)
committerGitHub <noreply@github.com>
Wed, 24 Jan 2024 14:31:34 +0000 (14:31 +0000)
* remove reference to removed module-level wrap_socket
* drive by typo fix
(cherry picked from commit 127a49785247ac8af158b18e38b722e520054d71)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Doc/library/ssl.rst

index 31ebd788a8fe4c56b992be0834c444bbd409e6bf..4caee84985a027bd4c77eaae6d5719992e6f7685 100644 (file)
@@ -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.