diff options
author | Georg Brandl <georg@python.org> | 2008-01-07 09:16:08 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-01-07 09:16:08 (GMT) |
commit | 3c403b237009203ca2eaee6c6fb2dc1951b730a7 (patch) | |
tree | 0b865587f639d278542b3c66980bfd5f3cc0cd72 | |
parent | 66502c11e9aae697f29f806d210a27b471a75eb7 (diff) | |
download | cpython-3c403b237009203ca2eaee6c6fb2dc1951b730a7.zip cpython-3c403b237009203ca2eaee6c6fb2dc1951b730a7.tar.gz cpython-3c403b237009203ca2eaee6c6fb2dc1951b730a7.tar.bz2 |
Consistency nit.
-rw-r--r-- | Doc/library/stdtypes.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index df5eeff..5ec8dbd 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -421,9 +421,9 @@ This table lists the bit-string operations sorted in ascending priority | ``x & y`` | bitwise :dfn:`and` of *x* and | | | | *y* | | +------------+--------------------------------+----------+ -| ``x << n`` | *x* shifted left by *n* bits | (1), (2) | +| ``x << n`` | *x* shifted left by *n* bits | (1)(2) | +------------+--------------------------------+----------+ -| ``x >> n`` | *x* shifted right by *n* bits | (1), (3) | +| ``x >> n`` | *x* shifted right by *n* bits | (1)(3) | +------------+--------------------------------+----------+ | ``~x`` | the bits of *x* inverted | | +------------+--------------------------------+----------+ @@ -585,9 +585,9 @@ are sequences of the same type; *n*, *i* and *j* are integers: +------------------+--------------------------------+----------+ | ``s[i]`` | *i*'th item of *s*, origin 0 | \(3) | +------------------+--------------------------------+----------+ -| ``s[i:j]`` | slice of *s* from *i* to *j* | (3), (4) | +| ``s[i:j]`` | slice of *s* from *i* to *j* | (3)(4) | +------------------+--------------------------------+----------+ -| ``s[i:j:k]`` | slice of *s* from *i* to *j* | (3), (5) | +| ``s[i:j:k]`` | slice of *s* from *i* to *j* | (3)(5) | | | with step *k* | | +------------------+--------------------------------+----------+ | ``len(s)`` | length of *s* | | @@ -1343,7 +1343,7 @@ defined on mutable sequence types (where *x* is an arbitrary object): | ``s.reverse()`` | reverses the items of *s* in | \(7) | | | place | | +------------------------------+--------------------------------+---------------------+ -| ``s.sort([cmp[, key[, | sort the items of *s* in place | (7), (8), (9), (10) | +| ``s.sort([cmp[, key[, | sort the items of *s* in place | (7)(8)(9)(10) | | reverse]]])`` | | | +------------------------------+--------------------------------+---------------------+ |