I'm trying to implement a wrapper class which should ideally allow me to get the intersection of its elements using the notation:
a & b
__hash__
__eq__
TypeError: unsupported operand type(s) for &: 'PropArray' and 'PropArray'
Try to override:
def __and__(self, *args, **kwargs): # real signature unknown
""" Return self&value. """
pass
in your class