diff options
author | Warren Weckesser <warren.weckesser@gmail.com> | 2020-01-23 13:48:38 -0500 |
---|---|---|
committer | Warren Weckesser <warren.weckesser@gmail.com> | 2020-01-23 14:05:15 -0500 |
commit | 021163b5e2293286b26d22bdae51305da634e74d (patch) | |
tree | dea44e19f7bbbeda64a219506fdcf8088e449ea6 /numpy/lib/format.py | |
parent | 04ac2a13b302a7af6fe2a5ca67e09a0e09a0f8e7 (diff) | |
download | numpy-021163b5e2293286b26d22bdae51305da634e74d.tar.gz |
MAINT: Clean up, mostly unused imports.
Diffstat (limited to 'numpy/lib/format.py')
-rw-r--r-- | numpy/lib/format.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/format.py b/numpy/lib/format.py index 114bae287..b31340314 100644 --- a/numpy/lib/format.py +++ b/numpy/lib/format.py @@ -599,7 +599,7 @@ def _read_array_header(fp, version): raise ValueError(msg.format(d['fortran_order'])) try: dtype = descr_to_dtype(d['descr']) - except TypeError as e: + except TypeError: msg = "descr is not a valid dtype descriptor: {!r}" raise ValueError(msg.format(d['descr'])) |