diff options
author | Stéphane Wirtel <stephane@wirtel.be> | 2018-10-26 10:52:11 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2018-10-26 10:52:11 (GMT) |
commit | e483f02423917dc4dfd25f46e5b9e6fce304777d (patch) | |
tree | 6171799d4ddcc72b7364a62b3f08a1fe124e8f6e /Doc/tutorial | |
parent | ddb961d2abe5d5fde76d85b21a77e4e91e0043ad (diff) | |
download | cpython-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/tutorial')
-rw-r--r-- | Doc/tutorial/datastructures.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst index 95dc0f9..b291d11 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]) |