def transform_classic_prompt(self, line):
        """Handle inputs that start with '>>> ' syntax."""

        if not line or line.isspace():
            return line
        m = self._classic_prompt_re.match(line)
        if m:
            return line[len(m.group(0)):]
        else:
            return line
Handle inputs that start with '>>> ' syntax.
angrmanagement/vendor/qtconsole/frontend_widget.py