File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -1122,12 +1122,9 @@ def iscompatible(self, other):
11221122 """
11231123 Checks if self is compatible with another axis.
11241124
1125- * Two non-wildcard axes are compatible is they have
1126- the same name and labels.
1127- * A wildcard axis of length 1 is compatible with any
1128- other axis sharing the same name.
1129- * A wildcard axis of length > 1 is compatible with any
1130- axis of the same length or length 1 and sharing the
1125+ * Two non-wildcard axes are compatible if they have the same name and labels.
1126+ * A wildcard axis of length 1 is compatible with any other axis sharing the same name.
1127+ * A wildcard axis of length > 1 is compatible with any axis of the same length or length 1 and sharing the
11311128 same name.
11321129
11331130 Parameters
@@ -1159,8 +1156,7 @@ def iscompatible(self, other):
11591156 return True
11601157 if not isinstance (other , Axis ):
11611158 return False
1162- if self .name is not None and other .name is not None and \
1163- self .name != other .name :
1159+ if self .name is not None and other .name is not None and self .name != other .name :
11641160 return False
11651161 if self .iswildcard or other .iswildcard :
11661162 # wildcard axes of length 1 match with anything
You can’t perform that action at this time.
0 commit comments