diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-12-25 13:46:58 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-12-25 13:46:58 (GMT) |
commit | 1be057673a1c27f717f883a2c3cdaff6c3cfb9f6 (patch) | |
tree | d9198ac8c873dfdedbd1ef60d672612dab0bbd32 /Doc/reference | |
parent | 34dcdee1770b0bfc9798280d378388056bf7d559 (diff) | |
parent | 9f929bb7df8fdf556ddd29ef38c0f2970ef172f6 (diff) | |
download | cpython-1be057673a1c27f717f883a2c3cdaff6c3cfb9f6.zip cpython-1be057673a1c27f717f883a2c3cdaff6c3cfb9f6.tar.gz cpython-1be057673a1c27f717f883a2c3cdaff6c3cfb9f6.tar.bz2 |
#16677: merge with 3.2.
Diffstat (limited to 'Doc/reference')
-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 429fee4..e9bf5c5 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -1303,8 +1303,8 @@ their suffixes:: .. _operator-summary: -Summary -======= +Operator precedence +=================== .. index:: pair: operator; precedence @@ -1328,9 +1328,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, | | ``<=``, ``>``, ``>=``, ``!=``, ``==`` | | +-----------------------------------------------+-------------------------------------+ @@ -1356,7 +1356,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 | +-----------------------------------------------+-------------------------------------+ |