summaryrefslogtreecommitdiffstats
path: root/Doc/library/ssl.rst
diff options
context:
space:
mode:
authorStéphane Wirtel <stephane@wirtel.be>2018-10-26 10:52:11 (GMT)
committerVictor Stinner <vstinner@redhat.com>2018-10-26 10:52:11 (GMT)
commite483f02423917dc4dfd25f46e5b9e6fce304777d (patch)
tree6171799d4ddcc72b7364a62b3f08a1fe124e8f6e /Doc/library/ssl.rst
parentddb961d2abe5d5fde76d85b21a77e4e91e0043ad (diff)
downloadcpython-e483f02423917dc4dfd25f46e5b9e6fce304777d.zip
cpython-e483f02423917dc4dfd25f46e5b9e6fce304777d.tar.gz
cpython-e483f02423917dc4dfd25f46e5b9e6fce304777d.tar.bz2
bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037)
Diffstat (limited to 'Doc/library/ssl.rst')
-rw-r--r--Doc/library/ssl.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 5b0ef2e..4817bba 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -1941,7 +1941,7 @@ to speed up repeated connections from the same clients.
.. note::
With versions of OpenSSL older than 0.9.8m, it is only possible
to set options, not to clear them. Attempting to clear an option
- (by resetting the corresponding bits) will raise a ``ValueError``.
+ (by resetting the corresponding bits) will raise a :exc:`ValueError`.
.. versionchanged:: 3.6
:attr:`SSLContext.options` returns :class:`Options` flags: