]> granicus.if.org Git - python/commitdiff
Fix rst formatting for several links in ssl documentation (GH-13133)
authorToshio Kuratomi <a.badger@gmail.com>
Mon, 6 May 2019 20:28:14 +0000 (15:28 -0500)
committerLisa Roach <lisaroach14@gmail.com>
Mon, 6 May 2019 20:28:14 +0000 (13:28 -0700)
Doc/library/ssl.rst

index 6a441983f8884ef0ff835d301908404735643e28..20f5724447164db17a52d99ced86de553d3b0b9a 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.