##// END OF EJS Templates
Slight name change for aliases....
chebee7i -
Show More
@@ -170,9 +170,9 b' class IPythonTracebackLexer(DelegatingLexer):'
170 170 def __init__(self, **options):
171 171 self.python3 = get_bool_opt(options, 'python3', False)
172 172 if self.python3:
173 self.aliases = ['ipythontb3']
173 self.aliases = ['ipython3tb']
174 174 else:
175 self.aliases = ['ipythontb2', 'ipythontb']
175 self.aliases = ['ipython2tb', 'ipythontb']
176 176
177 177 if self.python3:
178 178 IPyLexer = IPython3Lexer
@@ -189,7 +189,7 b' class IPythonConsoleLexer(Lexer):'
189 189
190 190 .. code-block:: rst
191 191
192 .. code-block:: ipythoncon
192 .. code-block:: ipythonconsole
193 193
194 194 In [1]: a = 'foo'
195 195
@@ -206,7 +206,7 b' class IPythonConsoleLexer(Lexer):'
206 206
207 207 .. code-block:: rst
208 208
209 .. code-block:: ipythoncon
209 .. code-block:: ipythonconsole
210 210
211 211 In [1]: raise Exception
212 212 ---------------------------------------------------------------------------
@@ -218,7 +218,7 b' class IPythonConsoleLexer(Lexer):'
218 218
219 219 """
220 220 name = 'IPython console session'
221 aliases = ['ipythoncon']
221 aliases = ['ipythonconsole']
222 222 mimetypes = ['text/x-ipython-console']
223 223
224 224 # The regexps used to determine what is input and what is output.
@@ -260,9 +260,9 b' class IPythonConsoleLexer(Lexer):'
260 260 """
261 261 self.python3 = get_bool_opt(options, 'python3', False)
262 262 if self.python3:
263 self.aliases = ['ipythoncon3']
263 self.aliases = ['ipython3console']
264 264 else:
265 self.aliases = ['ipythoncon2', 'ipythoncon']
265 self.aliases = ['ipython2console', 'ipythonconsole']
266 266
267 267 in1_regex = options.get('in1_regex', self.in1_regex)
268 268 in2_regex = options.get('in2_regex', self.in2_regex)
General Comments 0
You need to be logged in to leave comments. Login now