[Python-checkins] bpo-31501: Operator precedence description for arithmetic operators (#3633)

Raymond Hettinger webhook-mailer at python.org
Sun Sep 17 20:56:18 EDT 2017


https://github.com/python/cpython/commit/9b47af65375fab9318e88ccb061394a36c8c6c33
commit: 9b47af65375fab9318e88ccb061394a36c8c6c33
branch: master
author: svelankar <17737361+svelankar at users.noreply.github.com>
committer: Raymond Hettinger <rhettinger at users.noreply.github.com>
date: 2017-09-17T17:56:16-07:00
summary:

bpo-31501: Operator precedence  description  for arithmetic operators (#3633)

files:
M Doc/reference/expressions.rst

diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index ddcbd5567c1..094b92841e2 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -1687,8 +1687,8 @@ precedence and have a left-to-right chaining feature as described in the
 | ``+``, ``-``                                  | Addition and subtraction            |
 +-----------------------------------------------+-------------------------------------+
 | ``*``, ``@``, ``/``, ``//``, ``%``            | Multiplication, matrix              |
-|                                               | multiplication division,            |
-|                                               | remainder [#]_                      |
+|                                               | multiplication, division, floor     |
+|                                               | division, remainder [#]_            |
 +-----------------------------------------------+-------------------------------------+
 | ``+x``, ``-x``, ``~x``                        | Positive, negative, bitwise NOT     |
 +-----------------------------------------------+-------------------------------------+



More information about the Python-checkins mailing list