lexers.py 865 B

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