diff options
Diffstat (limited to 'Lib/sysconfig.py')
-rw-r--r-- | Lib/sysconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 9314e71..ed0a34d 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -147,7 +147,7 @@ def _subst_vars(s, local_vars): try: return s.format(**os.environ) except KeyError as var: - raise AttributeError('{%s}' % var) + raise AttributeError('{%s}' % var) from None def _extend_dict(target_dict, other_dict): target_keys = target_dict.keys() |