summaryrefslogtreecommitdiff
path: root/Doc/c-api
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-10-26 03:56:28 -0700
committerGitHub <noreply@github.com>2018-10-26 03:56:28 -0700
commitec10b70ea66e738ccb5c28f75a9c5d2b1c197de7 (patch)
tree38f85e351994cf64004539e53755c7d1f90aed12 /Doc/c-api
parent9a75b8470a2e0de5406edcabba140f023c99c6a9 (diff)
downloadcpython-git-ec10b70ea66e738ccb5c28f75a9c5d2b1c197de7.tar.gz
bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037)
(cherry picked from commit e483f02423917dc4dfd25f46e5b9e6fce304777d) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/conversion.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/conversion.rst b/Doc/c-api/conversion.rst
index 9566d9d792..c46722d782 100644
--- a/Doc/c-api/conversion.rst
+++ b/Doc/c-api/conversion.rst
@@ -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