Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 32f227b

Browse files
author
Matthias Koeppe
committed
src/sage/sets/cartesian_product.py: Make MRO consistent
1 parent d7af40f commit 32f227b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sage/sets/cartesian_product.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,10 @@ def __hash__(self):
404404
return hash(self.cartesian_factors())
405405

406406

407-
class CartesianProduct_unique(CartesianProduct_with_element_wrapper, UniqueRepresentation):
407+
class CartesianProduct_unique(UniqueRepresentation, CartesianProduct_with_element_wrapper):
408+
r"""
409+
A Cartesian product with :class:`~sage.structure.unique_representation.UniqueRepresentation` behavior.
410+
"""
408411
pass
409412

410413

0 commit comments

Comments
 (0)