Issue #9283: Oops, add missing { and } to repr(os.environ)
This commit is contained in:
parent
d73c1a3009
commit
bed7117fda
|
@ -446,7 +446,7 @@ class _Environ(MutableMapping):
|
|||
return len(self.data)
|
||||
|
||||
def __repr__(self):
|
||||
return 'environ({})'.format(', '.join(
|
||||
return 'environ({{{}}})'.format(', '.join(
|
||||
('{!r}: {!r}'.format(self.decodekey(key), self.decodevalue(value))
|
||||
for key, value in self.data.items())))
|
||||
|
||||
|
|
Loading…
Reference in New Issue