We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50d7867 commit 66ff9d2Copy full SHA for 66ff9d2
1 file changed
Doc/tutorial/datastructures.rst
@@ -40,8 +40,8 @@ objects:
40
.. method:: list.remove(x)
41
:noindex:
42
43
- Remove the first item from the list whose value is equal to *x*. It is an error if
44
- there is no such item.
+ Remove the first item from the list whose value is equal to *x*. It raises a
+ ``ValueError`` if there is no such item.
45
46
47
.. method:: list.pop([i])
0 commit comments