diff --git a/src/boost_histogram/_internal/hist.py b/src/boost_histogram/_internal/hist.py index 9bb9a3e4..4976c631 100644 --- a/src/boost_histogram/_internal/hist.py +++ b/src/boost_histogram/_internal/hist.py @@ -355,7 +355,11 @@ def view( return _to_view(self._hist.view(flow)) def __array__( - self, dtype: np.typing.DTypeLike | None = None, *, copy: bool | None = None + self, + dtype: np.typing.DTypeLike | None = None, + *, + # pylint: disable-next=redefined-outer-name + copy: bool | None = None, ) -> np.typing.NDArray[Any]: # The copy kw is new in NumPy 2.0 kwargs = {}