diff options
author | Łukasz Langa <lukasz@langa.pl> | 2010-12-03 22:15:19 (GMT) |
---|---|---|
committer | Łukasz Langa <lukasz@langa.pl> | 2010-12-03 22:15:19 (GMT) |
commit | 3a11e717aa3d7d4635e829502ac9d46686a6b8e5 (patch) | |
tree | d48cc9d07254056391c8966842580710413a0789 | |
parent | 4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9 (diff) | |
download | cpython-3a11e717aa3d7d4635e829502ac9d46686a6b8e5.zip cpython-3a11e717aa3d7d4635e829502ac9d46686a6b8e5.tar.gz cpython-3a11e717aa3d7d4635e829502ac9d46686a6b8e5.tar.bz2 |
%s -> %r correction after review by Éric Araujo
-rw-r--r-- | Lib/configparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/configparser.py b/Lib/configparser.py index 56c02ba..3c44cf3 100644 --- a/Lib/configparser.py +++ b/Lib/configparser.py @@ -653,7 +653,7 @@ class RawConfigParser(MutableMapping): 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) |