mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-31501: Operator precedence description for arithmetic operators (#3633)
This commit is contained in:
parent
55679e0ec7
commit
9b47af6537
1 changed files with 2 additions and 2 deletions
|
@ -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 |
|
||||
+-----------------------------------------------+-------------------------------------+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue