(self)
return (self.right == self.left) & (self.closed != 'both')
Indicates if an interval is empty, meaning it contains no points.
Indicates if an interval is empty, meaning it contains no points.
Indicates if an interval is empty meaning it contains no points .
def is_empty(self):
        """Indicates if an interval is empty, meaning it contains no points.

        """
        return (self.right == self.left) & (self.closed != 'both')
def is_empty ( self ) : return ( self . right == self . left ) & ( self . closed != 'both' )