Mercurial > cpython-lru_cache-weakref
diff Lib/ConfigParser.py @ 40959:0ea52558bdfe
Remove the ability to slice/index on exceptions per PEP 352.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Tue, 27 Feb 2007 00:15:55 +0000 |
| parents | f340cb045bf9 |
| children | bfc4e8046102 |
line wrap: on
line diff
--- a/Lib/ConfigParser.py Tue Feb 27 00:12:43 2007 +0000 +++ b/Lib/ConfigParser.py Tue Feb 27 00:15:55 2007 +0000 @@ -569,7 +569,7 @@ value = value % vars except KeyError as e: raise InterpolationMissingOptionError( - option, section, rawval, e[0]) + option, section, rawval, e.message) else: break if "%(" in value:
