diff options
author | Georg Brandl <georg@python.org> | 2020-12-24 16:52:35 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2020-12-24 17:06:55 +0100 |
commit | 7f0a0904460b2890ea3e28c92098c1bf6cee8955 (patch) | |
tree | 0de3ea0d17b1b3b8e4575d0c3437f64d17eba977 /pygments/lexers/special.py | |
parent | 6b615e68374a1bce04a3f258a2ce10d4a5e319de (diff) | |
download | pygments-git-raw-alias.tar.gz |
Remove the alias for the RawTokenLexer.raw-alias
RawTokenLexer was broken until 2.7.4, so it seems pretty much unused,
and it led to tracebacks when the "raw" alias was used from some
markup that allows specifying a language alias.
We'll still keep the class for special usage as intended.
Diffstat (limited to 'pygments/lexers/special.py')
-rw-r--r-- | pygments/lexers/special.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/special.py b/pygments/lexers/special.py index 84a924d9..29ce8fcc 100644 --- a/pygments/lexers/special.py +++ b/pygments/lexers/special.py @@ -55,7 +55,7 @@ class RawTokenLexer(Lexer): the given compression algorithm before lexing (default: ``""``). """ name = 'Raw token data' - aliases = ['raw'] + aliases = [] filenames = [] mimetypes = ['application/x-pygments-tokens'] |