mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
%s -> %r correction after review by Éric Araujo
This commit is contained in:
parent
4d0d471a80
commit
3a11e717aa
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue