Message403321
Nobody seems to have noticed this AFAICS:
If you type, e.g., help('+') to get help on operator precedence, the fist column gives a lit of operators for each row corresponding to a given precedence. However, the row for "not" (and similar for "await"), has the entry
"not" "x"
That looks as if there were two operators, "not" and "x". But the letter x is just an argument to the operator, so it should be:
"not x"
exactly as for "+x" and "-x" and "~x" and "x[index]" and "x.attribute", where also x is not part of the operator but an argument.
On the corresponding web page https://docs.python.org/3/reference/expressions.html#operator-summary
it is displayed correctly, there are no quotes. |
|
Date |
User |
Action |
Args |
2021-10-06 15:33:48 | MFH | set | recipients:
+ MFH, docs@python |
2021-10-06 15:33:48 | MFH | set | messageid: <1633534428.51.0.112977953361.issue45393@roundup.psfhosted.org> |
2021-10-06 15:33:48 | MFH | link | issue45393 messages |
2021-10-06 15:33:48 | MFH | create | |
|