def __eq__(self, other):
        """Returns True if two ArrayTypes are equivalent, False otherwise."""
        return (isinstance(other, ArrayType) and
                self.type == other.type and self.nelems == other.nelems)
def __eq__ ( self , other ) : return ( isinstance ( other , ArrayType ) and self . type == other . type and self . nelems == other . nelems )
Returns True if two ArrayTypes are equivalent, False otherwise.