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 a86d502 commit 1035a50Copy full SHA for 1035a50
larray/core.py
@@ -730,8 +730,8 @@ def __eq__(self, other):
730
other collection compares equal if all axes compare equal and in the
731
same order. Works with a list.
732
"""
733
- if isinstance(other, AxisCollection):
734
- other = other._list
+ if not isinstance(other, list):
+ other = list(other)
735
return self._list == other
736
737
def __contains__(self, key):
0 commit comments