From: Raymond Hettinger Date: Mon, 19 Feb 2018 23:39:20 +0000 (-0800) Subject: Fix typo in docs (GH-5763) X-Git-Tag: v2.7.15rc1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dc275a2c00839cce4cd717f64fc9456e05d5af3;p=thirdparty%2FPython%2Fcpython.git Fix typo in docs (GH-5763) --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 679931e089f2..9610419f078e 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -300,7 +300,7 @@ counts, but the output will exclude results with counts of zero or less. .. method:: remove(value) - Removed the first occurrence of *value*. If not found, raises a + Remove the first occurrence of *value*. If not found, raises a :exc:`ValueError`. .. versionadded:: 2.5