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

@ -60,7 +60,7 @@ The following functions provide locale-independent string to number conversions.
The conversion is independent of the current locale.
If ``endptr`` is ``NULL``, convert the whole string. Raise
ValueError and return ``-1.0`` if the string is not a valid
:exc:`ValueError` and return ``-1.0`` if the string is not a valid
representation of a floating-point number.
If endptr is not ``NULL``, convert as much of the string as