diff options
Diffstat (limited to 'numpy/distutils/conv_template.py')
-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] |