Skip to content

Commit

Permalink
Add the value parameter in the signature of the __or__ method of the …
Browse files Browse the repository at this point in the history
…ndarray class.
  • Loading branch information
hippo91 authored Sep 14, 2020
1 parent e39d8fe commit bb35723
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ Release Date: TBA

Fixes PyCQA/pylint#3640

* Fixes a bug in the signature of the ``ndarray.__or__`` method,
in the ``brain_numpy_ndarray.py`` module.

Fixes #815

* Added a brain for ``sqlalchemy.orm.session``

* Separate string and bytes classes patching
Expand Down
2 changes: 1 addition & 1 deletion astroid/brain/brain_numpy_ndarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __mod__(self, value): return numpy.ndarray([0, 0])
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()
Expand Down

0 comments on commit bb35723

Please sign in to comment.