]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-104360: remove reference to removed module-level wrap_socket (GH-104361)
authorThomas Grainger <tagrain@gmail.com>
Wed, 24 Jan 2024 14:24:00 +0000 (14:24 +0000)
committerGitHub <noreply@github.com>
Wed, 24 Jan 2024 14:24:00 +0000 (15:24 +0100)
* remove reference to removed module-level wrap_socket
* drive by typo fix

Doc/library/ssl.rst

index e8709b516ae07a2183ce9df1c181d3fa3f9c63d6..f9648fa6744bdc049424de5db34e304456e6c586 100644 (file)
@@ -2574,12 +2574,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.