Skip to content

Commit

Permalink
Merge pull request numpy#23144 from BvB93/dual
Browse files Browse the repository at this point in the history
TYP,MAINT: Add a missing explicit `Any` parameter to the `npt.ArrayLike` definition
  • Loading branch information
charris authored Feb 2, 2023
2 parents 340b3ff + 63dff2a commit 1e58f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/_typing/_array_like.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __array_function__(
#
# https://github.com/python/typing/issues/593
ArrayLike = _DualArrayLike[
dtype,
dtype[Any],
Union[bool, int, float, complex, str, bytes],
]

Expand Down

0 comments on commit 1e58f02

Please sign in to comment.