(self)
return self.closed in ('right', 'both')
Check if the interval is closed on the right side.
Check if the interval is closed on the right side.
Check if the interval is closed on the right side .
def closed_right(self):
        """Check if the interval is closed on the right side.

        """
        return self.closed in ('right', 'both')
def closed_right ( self ) : return self . closed in ( 'right' , 'both' )