(self, **options)
| 509 | aliases = ['ipy'] |
| 510 | |
| 511 | def __init__(self, **options): |
| 512 | self.python3 = get_bool_opt(options, 'python3', False) |
| 513 | if self.python3: |
| 514 | self.aliases = ['ipy3'] |
| 515 | else: |
| 516 | self.aliases = ['ipy2', 'ipy'] |
| 517 | |
| 518 | Lexer.__init__(self, **options) |
| 519 | |
| 520 | self.IPythonLexer = IPythonLexer(**options) |
| 521 | self.IPythonConsoleLexer = IPythonConsoleLexer(**options) |
| 522 | |
| 523 | def get_tokens_unprocessed(self, text): |
| 524 | # Search for the input prompt anywhere...this allows code blocks to |
no test coverage detected