[Python-checkins] peps (merge default -> default): Merge heads.

eric.smith python-checkins at python.org
Thu Apr 19 22:17:51 CEST 2012


http://hg.python.org/peps/rev/361d4ca5d360
changeset:   4278:361d4ca5d360
parent:      4277:6a8bb739ef28
parent:      4276:37af28ad2972
user:        Eric V. Smith <eric at trueblade.com>
date:        Thu Apr 19 16:17:45 2012 -0400
summary:
  Merge heads.

files:
  pep-0008.txt |  6 +++++-
  1 files changed, 5 insertions(+), 1 deletions(-)


diff --git a/pep-0008.txt b/pep-0008.txt
--- a/pep-0008.txt
+++ b/pep-0008.txt
@@ -305,7 +305,11 @@
   ``>=``, ``in``, ``not in``, ``is``, ``is not``), Booleans (``and``,
   ``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::
 

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list