diff options
author | hippo91 <guillaume.peillex@gmail.com> | 2019-12-27 11:00:54 +0100 |
---|---|---|
committer | hippo91 <guillaume.peillex@gmail.com> | 2019-12-28 14:47:35 +0100 |
commit | bb7fe8d661353b7aed137c9345b91bce721041e0 (patch) | |
tree | 1b346a21b95a8d4339f3d29d1df507f60bb07026 | |
parent | 1344a1cb42b17c644116cc2f50d54b37ac07167f (diff) | |
download | astroid-git-bb7fe8d661353b7aed137c9345b91bce721041e0.tar.gz |
Adds two missing ufunc instances (add and multiply)
-rw-r--r-- | astroid/brain/brain_numpy_core_umath.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/astroid/brain/brain_numpy_core_umath.py b/astroid/brain/brain_numpy_core_umath.py index 9e03bb9e..1a1788d2 100644 --- a/astroid/brain/brain_numpy_core_umath.py +++ b/astroid/brain/brain_numpy_core_umath.py @@ -101,6 +101,7 @@ def numpy_core_umath_transform(): trunc = FakeUfuncOneArg() # Two args functions with optional kwargs + add = FakeUfuncTwoArgs() bitwise_and = FakeUfuncTwoArgs() bitwise_or = FakeUfuncTwoArgs() bitwise_xor = FakeUfuncTwoArgs() @@ -123,6 +124,7 @@ def numpy_core_umath_transform(): logical_xor = FakeUfuncTwoArgs() maximum = FakeUfuncTwoArgs() minimum = FakeUfuncTwoArgs() + multiply = FakeUfuncTwoArgs() nextafter = FakeUfuncTwoArgs() not_equal = FakeUfuncTwoArgs() power = FakeUfuncTwoArgs() |