diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2019-09-05 12:50:29 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-05 12:50:29 -0600 |
commit | e50d160c0ab9127f79c797e7962e1dffdb9bf341 (patch) | |
tree | 330915a5a968d8589424d37ec340a5d01e03d687 | |
parent | 4da9256cd8e0cfc82d27530526857bc70a6c2309 (diff) | |
parent | ee4a4e30cde3894f89b5f3fa7dd74bd23743848f (diff) | |
download | numpy-e50d160c0ab9127f79c797e7962e1dffdb9bf341.tar.gz |
Merge pull request #14429 from seberg/exception-module
BUG: Do not show Override module in private error classes.
-rw-r--r-- | numpy/core/_exceptions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/_exceptions.py b/numpy/core/_exceptions.py index a1af7a78d..b3805af04 100644 --- a/numpy/core/_exceptions.py +++ b/numpy/core/_exceptions.py @@ -27,6 +27,7 @@ def _display_as_base(cls): assert issubclass(cls, Exception) cls.__name__ = cls.__base__.__name__ cls.__qualname__ = cls.__base__.__qualname__ + set_module(cls.__base__.__module__)(cls) return cls |