diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-12-25 13:45:15 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-12-25 13:45:15 (GMT) |
commit | 4268b3a751bb94da6bc2438a17c26cc3f88e32a8 (patch) | |
tree | 3a3f42b02ad04c2da619a126eb43d446b1f2e0f1 | |
parent | 2380feeff8e574690831d2eb778ca52d3af09b8a (diff) | |
download | cpython-4268b3a751bb94da6bc2438a17c26cc3f88e32a8.zip cpython-4268b3a751bb94da6bc2438a17c26cc3f88e32a8.tar.gz cpython-4268b3a751bb94da6bc2438a17c26cc3f88e32a8.tar.bz2 |
#16677: rename section header and fix markup.
-rw-r--r-- | Doc/reference/expressions.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index bc9f1b4..e5955bf 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -1339,8 +1339,8 @@ their suffixes:: .. _operator-summary: -Summary -======= +Operator precedence +=================== .. index:: pair: operator; precedence @@ -1363,9 +1363,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, | | ``<=``, ``>``, ``>=``, ``<>``, ``!=``, ``==`` | | +-----------------------------------------------+-------------------------------------+ @@ -1391,7 +1391,7 @@ groups from right to left). +-----------------------------------------------+-------------------------------------+ | ``(expressions...)``, | Binding or tuple display, | | ``[expressions...]``, | list display, | -| ``{key:datum...}``, | dictionary display, | +| ``{key: value...}``, | dictionary display, | | ```expressions...``` | string conversion | +-----------------------------------------------+-------------------------------------+ |