@@ -143,11 +143,11 @@ def make_default_syntax_table():
143
143
(r'\M-8' , 'digit-arg' ),
144
144
(r'\M-9' , 'digit-arg' ),
145
145
#(r'\M-\n', 'insert-nl'),
146
- ('\\ \\ ' , 'self-insert' )] + \
146
+ ('\\ \\ ' , 'self-insert' )] +
147
147
[(c , 'self-insert' )
148
- for c in map (chr , range (32 , 127 )) if c != '\\ ' ] + \
148
+ for c in map (chr , range (32 , 127 )) if c != '\\ ' ] +
149
149
[(c , 'self-insert' )
150
- for c in map (chr , range (128 , 256 )) if c .isalpha ()] + \
150
+ for c in map (chr , range (128 , 256 )) if c .isalpha ()] +
151
151
[(r'\<up>' , 'up' ),
152
152
(r'\<down>' , 'down' ),
153
153
(r'\<left>' , 'left' ),
@@ -244,9 +244,9 @@ def __init__(self, console):
244
244
self .commands = {}
245
245
self .msg = ''
246
246
for v in vars (commands ).values ():
247
- if (isinstance (v , type )
248
- and issubclass (v , commands .Command )
249
- and v .__name__ [0 ].islower ()):
247
+ if (isinstance (v , type ) and
248
+ issubclass (v , commands .Command ) and
249
+ v .__name__ [0 ].islower ()):
250
250
self .commands [v .__name__ ] = v
251
251
self .commands [v .__name__ .replace ('_' , '-' )] = v
252
252
self .syntax_table = make_default_syntax_table ()
0 commit comments