Fix rst formatting for several links in ssl documentation (GH-13133)
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 6a44198..20f5724 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -665,7 +665,7 @@
.. data:: PROTOCOL_SSLv23
- Alias for data:`PROTOCOL_TLS`.
+ Alias for :data:`PROTOCOL_TLS`.
.. deprecated:: 3.6
@@ -1821,7 +1821,7 @@
.. 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 @@
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.