Commit 3c403b23 authored by Georg Brandl's avatar Georg Brandl

Consistency nit.

parent 66502c11
...@@ -421,9 +421,9 @@ This table lists the bit-string operations sorted in ascending priority ...@@ -421,9 +421,9 @@ This table lists the bit-string operations sorted in ascending priority
| ``x & y`` | bitwise :dfn:`and` of *x* and | | | ``x & y`` | bitwise :dfn:`and` of *x* and | |
| | *y* | | | | *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 | | | ``~x`` | the bits of *x* inverted | |
+------------+--------------------------------+----------+ +------------+--------------------------------+----------+
...@@ -585,9 +585,9 @@ are sequences of the same type; *n*, *i* and *j* are integers: ...@@ -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]`` | *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* | | | | with step *k* | |
+------------------+--------------------------------+----------+ +------------------+--------------------------------+----------+
| ``len(s)`` | length of *s* | | | ``len(s)`` | length of *s* | |
...@@ -1343,7 +1343,7 @@ defined on mutable sequence types (where *x* is an arbitrary object): ...@@ -1343,7 +1343,7 @@ defined on mutable sequence types (where *x* is an arbitrary object):
| ``s.reverse()`` | reverses the items of *s* in | \(7) | | ``s.reverse()`` | reverses the items of *s* in | \(7) |
| | place | | | | 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]]])`` | | | | reverse]]])`` | | |
+------------------------------+--------------------------------+---------------------+ +------------------------------+--------------------------------+---------------------+
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment