[Python-checkins] cpython (2.7): #16677: rename section header and fix markup.
ezio.melotti
python-checkins at python.org
Tue Dec 25 14:47:58 CET 2012
http://hg.python.org/cpython/rev/a0f6c68ea12f
changeset: 81035:a0f6c68ea12f
branch: 2.7
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Tue Dec 25 15:45:15 2012 +0200
summary:
#16677: rename section header and fix markup.
files:
Doc/reference/expressions.rst | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -1339,8 +1339,8 @@
.. _operator-summary:
-Summary
-=======
+Operator precedence
+===================
.. index:: pair: operator; precedence
@@ -1363,9 +1363,9 @@
+-----------------------------------------------+-------------------------------------+
| :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 @@
+-----------------------------------------------+-------------------------------------+
| ``(expressions...)``, | Binding or tuple display, |
| ``[expressions...]``, | list display, |
-| ``{key:datum...}``, | dictionary display, |
+| ``{key: value...}``, | dictionary display, |
| ```expressions...``` | string conversion |
+-----------------------------------------------+-------------------------------------+
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list