summaryrefslogtreecommitdiff
path: root/pygments/lexers/special.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2020-12-24 16:52:35 +0100
committerGeorg Brandl <georg@python.org>2020-12-24 17:06:55 +0100
commit7f0a0904460b2890ea3e28c92098c1bf6cee8955 (patch)
tree0de3ea0d17b1b3b8e4575d0c3437f64d17eba977 /pygments/lexers/special.py
parent6b615e68374a1bce04a3f258a2ce10d4a5e319de (diff)
downloadpygments-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.py2
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']