diff options
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/numerictypes.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/numerictypes.py b/numpy/core/numerictypes.py index 1cb32a0ec..60d2d88ec 100644 --- a/numpy/core/numerictypes.py +++ b/numpy/core/numerictypes.py @@ -774,6 +774,7 @@ for key in _sctype2char_dict.keys(): for key, val in _typestr.items(): if val not in sctypeDict: sctypeDict[val] = key + raise RuntimeError('{!r}: {!r} was not in sctype'.format(key, val)) # Add additional strings to the sctypeDict |
