1 2 3 4 5 6 7 8 9 10 11
# pygments.lexers.python (as CustomLexer) for test_cmdline.py from pygments.lexers import PythonLexer class CustomLexer(PythonLexer): name = 'PythonLexerWrapper' class LexerWrapper(CustomLexer): name = 'PythonLexerWrapperWrapper'