diff --git a/src/awkward/contents/content.py b/src/awkward/contents/content.py index 6d98e912f4..5477ef32ee 100644 --- a/src/awkward/contents/content.py +++ b/src/awkward/contents/content.py @@ -289,7 +289,7 @@ def __array_function__(self, func, types, args, kwargs): "do not apply NumPy functions to low-level layouts (Content subclasses); put them in ak.highlevel.Array" ) - def __array__(self, **kwargs): + def __array__(self, dtype=None): raise TypeError( "do not try to convert low-level layouts (Content subclasses) into NumPy arrays; put them in ak.highlevel.Array" )