We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c0283f commit 30d8a4dCopy full SHA for 30d8a4d
1 file changed
arraycontext/impl/numpy/__init__.py
@@ -65,7 +65,8 @@
65
66
67
class NumpyNonObjectArrayMetaclass(type):
68
- def __instancecheck__(cls, instance: Any) -> bool:
+ @override
69
+ def __instancecheck__(cls, instance: object) -> bool:
70
return isinstance(instance, np.ndarray) and instance.dtype != object
71
72
0 commit comments