Thanks to visit codestin.com Credit goes to github.com
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 46ebe61 commit bcd1d97Copy full SHA for bcd1d97
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