[Python-checkins] Fix rst formatting for several links in ssl documentation (GH-13133)

Miss Islington (bot) webhook-mailer at python.org
Thu Jun 20 23:18:20 EDT 2019


https://github.com/python/cpython/commit/887e0576b80c3d71045dbad4fc5f07ec8a2c90d8
commit: 887e0576b80c3d71045dbad4fc5f07ec8a2c90d8
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-06-20T20:18:16-07:00
summary:

Fix rst formatting for several links in ssl documentation (GH-13133)

(cherry picked from commit 7b3a028c357dcc76b5aff7297e7c8052f897afb5)

Co-authored-by: Toshio Kuratomi <a.badger at gmail.com>

files:
M Doc/library/ssl.rst

diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index fba9d5a63dd0..1133ebf25f5b 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -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.
 



More information about the Python-checkins mailing list