summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton GrĂ¼bel <anton.gruebel@gmail.com>2021-07-24 23:54:51 +0200
committerGitHub <noreply@github.com>2021-07-24 18:54:51 -0300
commit717f608c4a52664a03f8f2b9c57eaa25b24a7837 (patch)
tree66b619324f30a584b052028f8b8d21f825014fff
parent435a0334d341e5f8faed594d9f015746bb7845db (diff)
downloadcpython-git-717f608c4a52664a03f8f2b9c57eaa25b24a7837.tar.gz
Fix typo in ssl documentation (GH-27329)
-rw-r--r--Doc/library/ssl.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 4902d34888..aac2f2284d 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -1870,7 +1870,7 @@ to speed up repeated connections from the same clients.
*session* argument was added.
.. versionchanged:: 3.7
- The method returns on instance of :attr:`SSLContext.sslsocket_class`
+ The method returns an instance of :attr:`SSLContext.sslsocket_class`
instead of hard-coded :class:`SSLSocket`.
.. attribute:: SSLContext.sslsocket_class
@@ -1896,7 +1896,7 @@ to speed up repeated connections from the same clients.
*session* argument was added.
.. versionchanged:: 3.7
- The method returns on instance of :attr:`SSLContext.sslobject_class`
+ The method returns an instance of :attr:`SSLContext.sslobject_class`
instead of hard-coded :class:`SSLObject`.
.. attribute:: SSLContext.sslobject_class