diff options
author | thatch <devnull@localhost> | 2008-09-24 20:12:46 -0700 |
---|---|---|
committer | thatch <devnull@localhost> | 2008-09-24 20:12:46 -0700 |
commit | 52afb43cd14c7a9a63c4788c25b078994c32c146 (patch) | |
tree | 32b7efcd5648f6d0d423e0e93b81c260044aac7b /pygments/lexers/_mapping.py | |
parent | 62eae3e36222566c700d0a530983bac806b4639f (diff) | |
download | pygments-52afb43cd14c7a9a63c4788c25b078994c32c146.tar.gz |
Give Python3TracebackLexer a new name since it was shadowing the main
PythonTracebackLexer, which once again allows SyntaxError to work for pytb
files. Add example file to make sure of this in the future.
Diffstat (limited to 'pygments/lexers/_mapping.py')
-rw-r--r-- | pygments/lexers/_mapping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py index ba107b26..f9efdb16 100644 --- a/pygments/lexers/_mapping.py +++ b/pygments/lexers/_mapping.py @@ -109,7 +109,7 @@ LEXERS = { 'PhpLexer': ('pygments.lexers.web', 'PHP', ('php', 'php3', 'php4', 'php5'), ('*.php', '*.php[345]'), ('text/x-php',)), 'PovrayLexer': ('pygments.lexers.other', 'POVRay', ('pov',), ('*.pov', '*.inc'), ('text/x-povray',)), 'Python3Lexer': ('pygments.lexers.agile', 'Python 3', ('python3', 'py3'), (), ('text/x-python3', 'application/x-python3')), - 'Python3TracebackLexer': ('pygments.lexers.agile', 'Python Traceback', ('py3tb',), ('*.py3tb',), ('text/x-python3-traceback',)), + 'Python3TracebackLexer': ('pygments.lexers.agile', 'Python 3.0 Traceback', ('py3tb',), ('*.py3tb',), ('text/x-python3-traceback',)), 'PythonConsoleLexer': ('pygments.lexers.agile', 'Python console session', ('pycon',), (), ('text/x-python-doctest',)), 'PythonLexer': ('pygments.lexers.agile', 'Python', ('python', 'py'), ('*.py', '*.pyw', '*.sc', 'SConstruct', 'SConscript'), ('text/x-python', 'application/x-python')), 'PythonTracebackLexer': ('pygments.lexers.agile', 'Python Traceback', ('pytb',), ('*.pytb',), ('text/x-python-traceback',)), |