mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037)
This commit is contained in:
parent
ddb961d2ab
commit
e483f02423
17 changed files with 19 additions and 17 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue