Issue 12717: Fix-up an earlier backport in ConfigParser.

This commit is contained in:
Raymond Hettinger 2011-08-09 12:07:15 -07:00
parent d7fbc8bf12
commit 3ea5224c43
2 changed files with 23 additions and 1 deletions

View file

@ -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)