diff options
author | PhanatosZou <tongzou@uw.edu> | 2021-01-03 18:50:48 -0800 |
---|---|---|
committer | PhanatosZou <tongzou@uw.edu> | 2021-01-03 18:50:48 -0800 |
commit | 86cd3582c0e9101ac40434ae4488abdab1c1c910 (patch) | |
tree | 644e53266a3dd0818edeecbf1165245b4bc2fe9c | |
parent | 72a8368962fd1365d480a88a1c84a1aae243dd6a (diff) | |
download | numpy-86cd3582c0e9101ac40434ae4488abdab1c1c910.tar.gz |
fix exception cause in mingw32ccompiler.py
-rw-r--r-- | numpy/distutils/mingw32ccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/mingw32ccompiler.py b/numpy/distutils/mingw32ccompiler.py index 3358695a8..4681d403b 100644 --- a/numpy/distutils/mingw32ccompiler.py +++ b/numpy/distutils/mingw32ccompiler.py @@ -566,7 +566,7 @@ def msvc_manifest_xml(maj, min): fullver = _MSVCRVER_TO_FULLVER[str(maj * 10 + min)] except KeyError: raise ValueError("Version %d,%d of MSVCRT not supported yet" % - (maj, min)) + (maj, min)) from None # Don't be fooled, it looks like an XML, but it is not. In particular, it # should not have any space before starting, and its size should be # divisible by 4, most likely for alignment constraints when the xml is |