| 1 |
# -*- coding: utf-8 -*- |
| 2 |
""" |
| 3 |
The IPython lexers are now a separate package, ipython-pygments-lexers. |
| 4 |
|
| 5 |
Importing from here is deprecated and may break in the future. |
| 6 |
""" |
| 7 |
# ----------------------------------------------------------------------------- |
| 8 |
# Copyright (c) 2013, the IPython Development Team. |
| 9 |
# |
| 10 |
# Distributed under the terms of the Modified BSD License. |
| 11 |
# |
| 12 |
# The full license is in the file COPYING.txt, distributed with this software. |
| 13 |
# ----------------------------------------------------------------------------- |
| 14 |
|
| 15 |
from ipython_pygments_lexers import ( |
| 16 |
IPythonLexer, |
| 17 |
IPython3Lexer, |
| 18 |
IPythonPartialTracebackLexer, |
| 19 |
IPythonTracebackLexer, |
| 20 |
IPythonConsoleLexer, |
| 21 |
IPyLexer, |
| 22 |
) |
| 23 |
|
| 24 |
|
| 25 |
__all__ = [ |
| 26 |
"IPython3Lexer", |
| 27 |
"IPythonLexer", |
| 28 |
"IPythonPartialTracebackLexer", |
| 29 |
"IPythonTracebackLexer", |
| 30 |
"IPythonConsoleLexer", |
| 31 |
"IPyLexer", |
| 32 |
] |