diff options
| author | hippo91 <guillaume.peillex@gmail.com> | 2020-12-29 17:27:46 +0100 |
|---|---|---|
| committer | hippo91 <guillaume.peillex@gmail.com> | 2020-12-29 17:27:46 +0100 |
| commit | 670707e17263f27f3a420542c08fcd02d721eb84 (patch) | |
| tree | 6cc2591e1340844785b4f0ace0b3e6e4ca85b74a | |
| parent | f64ca15456da60e3a58324c011520324add78dbe (diff) | |
| download | astroid-git-670707e17263f27f3a420542c08fcd02d721eb84.tar.gz | |
Adds a note dealing with numpy version 1.18 and the __getattr__ method
| -rw-r--r-- | astroid/brain/brain_numpy_core_umath.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/astroid/brain/brain_numpy_core_umath.py b/astroid/brain/brain_numpy_core_umath.py index a6b24bf9..48b36d3c 100644 --- a/astroid/brain/brain_numpy_core_umath.py +++ b/astroid/brain/brain_numpy_core_umath.py @@ -4,7 +4,8 @@ # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/COPYING.LESSER - +# Note: starting with version 1.18 numpy module has `__getattr__` method which prevent `pylint` to emit `no-member` message for +# all numpy's attributes. (see pylint's module typecheck in `_emit_no_member` function) """Astroid hooks for numpy.core.umath module.""" import astroid |
