]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#16677: rename section header and fix markup.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 25 Dec 2012 13:45:15 +0000 (15:45 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 25 Dec 2012 13:45:15 +0000 (15:45 +0200)
Doc/reference/expressions.rst

index 2c6acb63dd6621f01f51e69319bb86e14bc47735..4b62dceab5d224dacab47f12c26977bf5f66f575 100644 (file)
@@ -1266,8 +1266,8 @@ their suffixes::
 
 .. _operator-summary:
 
-Summary
-=======
+Operator precedence
+===================
 
 .. index:: pair: operator; precedence
 
@@ -1291,9 +1291,9 @@ groups from right to left).
 +-----------------------------------------------+-------------------------------------+
 | :keyword:`and`                                | Boolean AND                         |
 +-----------------------------------------------+-------------------------------------+
-| :keyword:`not` *x*                            | Boolean NOT                         |
+| :keyword:`not` ``x``                          | Boolean NOT                         |
 +-----------------------------------------------+-------------------------------------+
-| :keyword:`in`, :keyword:`not` :keyword:`in`,  | Comparisons, including membership   |
+| :keyword:`in`, :keyword:`not in`,             | Comparisons, including membership   |
 | :keyword:`is`, :keyword:`is not`, ``<``,      | tests and identity tests,           |
 | ``<=``, ``>``, ``>=``, ``!=``, ``==``         |                                     |
 +-----------------------------------------------+-------------------------------------+
@@ -1319,7 +1319,7 @@ groups from right to left).
 +-----------------------------------------------+-------------------------------------+
 | ``(expressions...)``,                         | Binding or tuple display,           |
 | ``[expressions...]``,                         | list display,                       |
-| ``{key:datum...}``,                           | dictionary display,                 |
+| ``{key: value...}``,                          | dictionary display,                 |
 | ``{expressions...}``                          | set display                         |
 +-----------------------------------------------+-------------------------------------+