[Python-checkins] cpython (2.7): Minor formatting fix=up

raymond.hettinger python-checkins at python.org
Sun Jun 10 02:27:33 CEST 2012


http://hg.python.org/cpython/rev/272e7dcffd30
changeset:   77395:272e7dcffd30
branch:      2.7
user:        Raymond Hettinger <python at rcn.com>
date:        Sat Jun 09 17:27:23 2012 -0700
summary:
  Minor formatting fix=up

files:
  Lib/collections.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/collections.py b/Lib/collections.py
--- a/Lib/collections.py
+++ b/Lib/collections.py
@@ -337,7 +337,7 @@
     seen = set()
     for name in field_names:
         if name.startswith('_') and not rename:
-            raise ValueError('Field names cannot start with an underscore:'
+            raise ValueError('Field names cannot start with an underscore: '
                              '%r' % name)
         if name in seen:
             raise ValueError('Encountered duplicate field name: %r' % name)

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


More information about the Python-checkins mailing list