diff options
| author | Abhay Raghuvanshi <abhayaman669@gmail.com> | 2021-02-02 22:30:15 +0530 |
|---|---|---|
| committer | Abhay Raghuvanshi <abhayaman669@gmail.com> | 2021-02-02 22:30:15 +0530 |
| commit | 2d58affcab882a00f02a9affec6ce353d0d5c5b5 (patch) | |
| tree | 655a88eba2e6322382a020d12ce3f02d1b6b1952 /numpy/distutils | |
| parent | e80b1935d81b8ea36e43f7f5ac63629b6dd756f9 (diff) | |
| download | numpy-2d58affcab882a00f02a9affec6ce353d0d5c5b5.tar.gz | |
Fixed exception cause in cov_template.py
Diffstat (limited to 'numpy/distutils')
| -rw-r--r-- | numpy/distutils/conv_template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/conv_template.py b/numpy/distutils/conv_template.py index e46db0663..65efab062 100644 --- a/numpy/distutils/conv_template.py +++ b/numpy/distutils/conv_template.py @@ -218,7 +218,7 @@ def parse_string(astr, env, level, line) : val = env[name] except KeyError: msg = 'line %d: no definition of key "%s"'%(line, name) - raise ValueError(msg) + raise ValueError(msg) from None return val code = [lineno] |
