[Python-checkins] r86999 - python/branches/py3k/Lib/configparser.py

lukasz.langa python-checkins at python.org
Fri Dec 3 23:15:19 CET 2010


Author: lukasz.langa
Date: Fri Dec 3 23:15:19 2010
New Revision: 86999
Log:
%s -> %r correction after review by Éric Araujo
Modified:
 python/branches/py3k/Lib/configparser.py
Modified: python/branches/py3k/Lib/configparser.py
==============================================================================
--- python/branches/py3k/Lib/configparser.py	(original)
+++ python/branches/py3k/Lib/configparser.py	Fri Dec 3 23:15:19 2010
@@ -653,7 +653,7 @@
 already exists. Raise ValueError if name is DEFAULT.
 """
 if section == self.default_section:
- raise ValueError('Invalid section name: %s' % section)
+ raise ValueError('Invalid section name: %r' % section)
 
 if section in self._sections:
 raise DuplicateSectionError(section)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /