diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-07-28 21:25:42 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-07-28 21:25:42 (GMT) |
commit | bed7117fdabcc24dd87a269b051f9b57b4c4909a (patch) | |
tree | 79f6610535b4e3359b422d0bf16336676298498f /Lib | |
parent | d73c1a3009d4bf0212d0d59111c1191066e245e4 (diff) | |
download | cpython-bed7117fdabcc24dd87a269b051f9b57b4c4909a.zip cpython-bed7117fdabcc24dd87a269b051f9b57b4c4909a.tar.gz cpython-bed7117fdabcc24dd87a269b051f9b57b4c4909a.tar.bz2 |
Issue #9283: Oops, add missing { and } to repr(os.environ)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/os.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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()))) |