bpo-29756: Improve documentation for list methods that compare items by equality (GH-572)

This commit is contained in:
Xiang Zhang 2017-03-13 10:09:16 +08:00 committed by GitHub
parent 004251059b
commit b2d77175d1
2 changed files with 3 additions and 3 deletions

View file

@ -1084,7 +1084,7 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
| | also removes it from *s* | |
+------------------------------+--------------------------------+---------------------+
| ``s.remove(x)`` | remove the first item from *s* | \(3) |
| | where ``s[i] == x`` | |
| | where ``s[i]`` is equal to *x* | |
+------------------------------+--------------------------------+---------------------+
| ``s.reverse()`` | reverses the items of *s* in | \(4) |
| | place | |