We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0391975 commit 671a157Copy full SHA for 671a157
array_api_strict/_dtypes.py
@@ -25,8 +25,8 @@ def __eq__(self, other):
25
"""You are comparing a array_api_strict dtype against \
26
a NumPy native dtype object, but you probably don't want to do this. \
27
array_api_strict dtype objects compare unequal to their NumPy equivalents. \
28
-Such cross-library comparison is not supported by the standard."""
29
- )
+Such cross-library comparison is not supported by the standard.""",
+ stacklevel=2)
30
if not isinstance(other, _DType):
31
return NotImplemented
32
return self._np_dtype == other._np_dtype
0 commit comments