mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Issue 12717: Fix-up an earlier backport in ConfigParser.
This commit is contained in:
parent
d7fbc8bf12
commit
3ea5224c43
2 changed files with 23 additions and 1 deletions
|
@ -570,7 +570,7 @@ class _Chainmap(_UserDict.DictMixin):
|
|||
def keys(self):
|
||||
result = []
|
||||
seen = set()
|
||||
for mapping in self_maps:
|
||||
for mapping in self._maps:
|
||||
for key in mapping:
|
||||
if key not in seen:
|
||||
result.append(key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue