Skip to content

Commit

Permalink
MAINT: Remove positionality of kind in isin
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Jun 22, 2022
1 parent bb71875 commit 64de8b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numpy/lib/arraysetops.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,12 +736,12 @@ def in1d(ar1, ar2, assume_unique=False, invert=False, *, kind=None):


def _isin_dispatcher(element, test_elements, assume_unique=None, invert=None,
kind=None):
*, kind=None):
return (element, test_elements)


@array_function_dispatch(_isin_dispatcher)
def isin(element, test_elements, assume_unique=False, invert=False,
def isin(element, test_elements, assume_unique=False, invert=False, *,
kind=None):
"""
Calculates ``element in test_elements``, broadcasting over `element` only.
Expand Down

0 comments on commit 64de8b2

Please sign in to comment.