[Python-checkins] peps: we welcome all bracing styles

benjamin.peterson python-checkins at python.org
Tue Jan 3 02:09:03 CET 2012


http://hg.python.org/peps/rev/8280e184ad18
changeset:   4010:8280e184ad18
user:        Benjamin Peterson <benjamin at python.org>
date:        Mon Jan 02 19:08:51 2012 -0600
summary:
  we welcome all bracing styles

files:
  pep-0007.txt |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/pep-0007.txt b/pep-0007.txt
--- a/pep-0007.txt
+++ b/pep-0007.txt
@@ -72,7 +72,8 @@
 	}
 
     - Code structure: one space between keywords like 'if', 'for' and
-      the following left paren; no spaces inside the paren; braces as
+      the following left paren; no spaces inside the paren; braces may be
+      omitted where C permits but when present, they should be formatted as
       shown:
 
 	if (mro != NULL) {

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


More information about the Python-checkins mailing list