Guido suggests alternative language for whitespace around operators.
This commit is contained in:
parent
cefcfb8196
commit
5ca34439af
|
@ -305,7 +305,11 @@ Other Recommendations
|
||||||
``>=``, ``in``, ``not in``, ``is``, ``is not``), Booleans (``and``,
|
``>=``, ``in``, ``not in``, ``is``, ``is not``), Booleans (``and``,
|
||||||
``or``, ``not``).
|
``or``, ``not``).
|
||||||
|
|
||||||
- Use spaces around arithmetic operators:
|
- If operators with different priorities are used, consider adding
|
||||||
|
whitespace around the operators with the lowest priority(ies). Use
|
||||||
|
your own judgement; however, never use more than one space, and
|
||||||
|
always have the same amount of whitespace on both sides of a binary
|
||||||
|
operator.
|
||||||
|
|
||||||
Yes::
|
Yes::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue