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

@ -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])