def __init__(self, line: Optional[Text] = None):
        """Create a separator in a list.

        Args:
            line: Text to be displayed in the list, by default uses `---`.
        """

        self.line = line or self.default_separator
        super(Separator, self).__init__(self.line, None, "-")
def __init__ ( self , line : Optional [ Text ] = None ) : self . line = line or self . default_separator super ( Separator , self ) . __init__ ( self . line , None , "-" )
Create a separator in a list.

        Args:
            line: Text to be displayed in the list, by default uses `---`.