[Python-checkins] Fix typo in ssl documentation (GH-27329)

nanjekyejoannah webhook-mailer at python.org
Sat Jul 24 17:54:56 EDT 2021


https://github.com/python/cpython/commit/717f608c4a52664a03f8f2b9c57eaa25b24a7837
commit: 717f608c4a52664a03f8f2b9c57eaa25b24a7837
branch: main
author: Anton Grübel <anton.gruebel at gmail.com>
committer: nanjekyejoannah <33177550+nanjekyejoannah at users.noreply.github.com>
date: 2021-07-24T18:54:51-03:00
summary:

Fix typo in ssl documentation (GH-27329)

files:
M Doc/library/ssl.rst

diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 4902d34888ebc..aac2f2284dac3 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



More information about the Python-checkins mailing list