def __init__(self, line: Optional[str] = None) -> 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().__init__(self.line, None, "-")
Create a separator in a list.

        Args:
            line: Text to be displayed in the list, by default uses ``---``.
        
questionary/prompts/common.py