summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-12-25 13:45:15 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-12-25 13:45:15 (GMT)
commit9f929bb7df8fdf556ddd29ef38c0f2970ef172f6 (patch)
treef200ed84291e4050d2ab1aac1fde591b0375a844 /Doc/reference
parent405faed511dded5749c36defa6c0c1e0cc0d1e6e (diff)
downloadcpython-9f929bb7df8fdf556ddd29ef38c0f2970ef172f6.zip
cpython-9f929bb7df8fdf556ddd29ef38c0f2970ef172f6.tar.gz
cpython-9f929bb7df8fdf556ddd29ef38c0f2970ef172f6.tar.bz2
#16677: rename section header and fix markup.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/expressions.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index 2c6acb6..4b62dce 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -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 |
+-----------------------------------------------+-------------------------------------+