diff options
author | hippo91 <guillaume.peillex@gmail.com> | 2020-09-14 22:15:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 22:15:55 +0200 |
commit | bb3572368c7ebf4155e9c3bbe5911a5331aec730 (patch) | |
tree | 7c71149c84a805867d75532028913cfaa6c832cc /astroid/brain/brain_numpy_ndarray.py | |
parent | e39d8fe2bbccd3851dcf456667f91b56aa692085 (diff) | |
download | astroid-git-bb3572368c7ebf4155e9c3bbe5911a5331aec730.tar.gz |
Add the value parameter in the signature of the __or__ method of the ndarray class.
Diffstat (limited to 'astroid/brain/brain_numpy_ndarray.py')
-rw-r--r-- | astroid/brain/brain_numpy_ndarray.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/brain/brain_numpy_ndarray.py b/astroid/brain/brain_numpy_ndarray.py index 31dbe4f6..93dd3d31 100644 --- a/astroid/brain/brain_numpy_ndarray.py +++ b/astroid/brain/brain_numpy_ndarray.py @@ -73,7 +73,7 @@ def infer_numpy_ndarray(node, context=None): def __mul__(self, value): return numpy.ndarray([0, 0]) def __ne__(self, value): return numpy.ndarray([0, 0]) def __neg__(self): return numpy.ndarray([0, 0]) - def __or__(self): return numpy.ndarray([0, 0]) + def __or__(self, value): return numpy.ndarray([0, 0]) def __pos__(self): return numpy.ndarray([0, 0]) def __pow__(self): return numpy.ndarray([0, 0]) def __repr__(self): return str() |