summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Grainger <tagrain@gmail.com>2024-01-24 14:24:00 (GMT)
committerGitHub <noreply@github.com>2024-01-24 14:24:00 (GMT)
commit127a49785247ac8af158b18e38b722e520054d71 (patch)
treecec3b05fcb4e121d96e8d6ba15e98ebdd2f369f9
parent51d9068ede41d49e86c9637960f212e2a0f07f4c (diff)
downloadcpython-127a49785247ac8af158b18e38b722e520054d71.zip
cpython-127a49785247ac8af158b18e38b722e520054d71.tar.gz
cpython-127a49785247ac8af158b18e38b722e520054d71.tar.bz2
gh-104360: remove reference to removed module-level wrap_socket (GH-104361)
* remove reference to removed module-level wrap_socket * drive by typo fix
-rw-r--r--Doc/library/ssl.rst6
1 files changed, 1 insertions, 5 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index e8709b5..f9648fa 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -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.