]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix rst formatting for several links in ssl documentation (GH-13133)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 21 Jun 2019 03:18:16 +0000 (20:18 -0700)
committerGitHub <noreply@github.com>
Fri, 21 Jun 2019 03:18:16 +0000 (20:18 -0700)
(cherry picked from commit 7b3a028c357dcc76b5aff7297e7c8052f897afb5)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
Doc/library/ssl.rst

index fba9d5a63dd0069cded8b21ffdf1a4e8dd80a694..1133ebf25f5bb57189416d85324dce5ab90d63ad 100644 (file)
@@ -665,7 +665,7 @@ Constants
 
 .. data:: PROTOCOL_SSLv23
 
-   Alias for data:`PROTOCOL_TLS`.
+   Alias for :data:`PROTOCOL_TLS`.
 
    .. deprecated:: 3.6
 
@@ -1821,7 +1821,7 @@ to speed up repeated connections from the same clients.
 
 .. attribute:: SSLContext.sslsocket_class
 
-   The return type of :meth:`SSLContext.wrap_sockets`, defaults to
+   The return type of :meth:`SSLContext.wrap_socket`, defaults to
    :class:`SSLSocket`. The attribute can be overridden on instance of class
    in order to return a custom subclass of :class:`SSLSocket`.
 
@@ -1831,7 +1831,7 @@ to speed up repeated connections from the same clients.
                                 server_hostname=None, session=None)
 
    Wrap the BIO objects *incoming* and *outgoing* and return an instance of
-   attr:`SSLContext.sslobject_class` (default :class:`SSLObject`). The SSL
+   :attr:`SSLContext.sslobject_class` (default :class:`SSLObject`). The SSL
    routines will read input data from the incoming BIO and write data to the
    outgoing BIO.