bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037)

This commit is contained in:
Stéphane Wirtel 2018-10-26 12:52:11 +02:00 committed by Victor Stinner
parent ddb961d2ab
commit e483f02423
17 changed files with 19 additions and 17 deletions

View file

@ -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: