File: python_lexer.py

package info (click to toggle)
pygments 2.2.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,628 kB
  • ctags: 5,425
  • sloc: python: 69,950; makefile: 217; sh: 117
file content (12 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: utf-8 -*-
# pygments.lexers.python (as CustomLexer) for test_cmdline.py

from pygments.lexers import PythonLexer


class CustomLexer(PythonLexer):
    name = 'PythonLexerWrapper'


class LexerWrapper(CustomLexer):
    name = 'PythonLexerWrapperWrapper'