Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix rst formatting for several links in ssl documentation
* The formatting for ssl.PROTOCOL_SSLv23 and ssl.SSLContext.wrap_bio was
  missing a colon so they weren't properly formatted as links.

* Corrected link SSLContext.wrap_socket() to be singular instead of plural

Fixes https://bugs.python.org/issue36165
  • Loading branch information
abadger committed May 6, 2019
commit 4033b24b08f8b39668b695686b89e0ef243f1001
6 changes: 3 additions & 3 deletions Doc/library/ssl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ Constants

.. data:: PROTOCOL_SSLv23

Alias for data:`PROTOCOL_TLS`.
Alias for :data:`PROTOCOL_TLS`.

.. deprecated:: 3.6

Expand Down Expand Up @@ -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`.

Expand All @@ -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.

Expand Down