summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/tutorial/datastructures.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst
index 7855ef2..95dc0f9 100644
--- a/Doc/tutorial/datastructures.rst
+++ b/Doc/tutorial/datastructures.rst
@@ -40,8 +40,8 @@ objects:
.. method:: list.remove(x)
:noindex:
- Remove the first item from the list whose value is equal to *x*. It is an error if
- 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.
.. method:: list.pop([i])