]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in ssl documentation (GH-27329)
authorAnton Grübel <anton.gruebel@gmail.com>
Sat, 24 Jul 2021 21:54:51 +0000 (23:54 +0200)
committerGitHub <noreply@github.com>
Sat, 24 Jul 2021 21:54:51 +0000 (18:54 -0300)
Doc/library/ssl.rst

index 4902d34888ebccf0bd3decaec1f3e3eb64f8b7b9..aac2f2284dac317614beb5a1abf8d93a7d30d217 100644 (file)
@@ -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