File: lexers.py

package info (click to toggle)
ipython 9.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,620 kB
  • sloc: python: 45,416; sh: 317; makefile: 168
file content (32 lines) | stat: -rw-r--r-- 865 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- coding: utf-8 -*-
"""
The IPython lexers are now a separate package, ipython-pygments-lexers.

Importing from here is deprecated and may break in the future.
"""
# -----------------------------------------------------------------------------
# Copyright (c) 2013, the IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
# -----------------------------------------------------------------------------

from ipython_pygments_lexers import (
    IPythonLexer,
    IPython3Lexer,
    IPythonPartialTracebackLexer,
    IPythonTracebackLexer,
    IPythonConsoleLexer,
    IPyLexer,
)


__all__ = [
    "IPython3Lexer",
    "IPythonLexer",
    "IPythonPartialTracebackLexer",
    "IPythonTracebackLexer",
    "IPythonConsoleLexer",
    "IPyLexer",
]