summaryrefslogtreecommitdiff
path: root/Doc/tutorial
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/tutorial
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/tutorial')
-rw-r--r--Doc/tutorial/datastructures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst
index 95dc0f98ba..b291d11595 100644
--- a/Doc/tutorial/datastructures.rst
+++ b/Doc/tutorial/datastructures.rst
@@ -41,7 +41,7 @@ objects:
:noindex:
Remove the first item from the list whose value is equal to *x*. It raises a
- ``ValueError`` if there is no such item.
+ :exc:`ValueError` if there is no such item.
.. method:: list.pop([i])