##// END OF EJS Templates
#7558: Do not inherit python filenames in ipython lexers.
Lev Abalkin -
Show More
@@ -87,7 +87,7 b' def build_ipy_lexer(python3):'
87 tokens = PyLexer.tokens.copy()
87 tokens = PyLexer.tokens.copy()
88 tokens['root'] = ipython_tokens + tokens['root']
88 tokens['root'] = ipython_tokens + tokens['root']
89
89
90 attrs = {'name': name, 'aliases': aliases,
90 attrs = {'name': name, 'aliases': aliases, 'filenames': [],
91 '__doc__': doc, 'tokens': tokens}
91 '__doc__': doc, 'tokens': tokens}
92
92
93 return type(name, (PyLexer,), attrs)
93 return type(name, (PyLexer,), attrs)
General Comments 0
You need to be logged in to leave comments. Login now