@@ -143,11 +143,11 @@ def make_default_syntax_table():
143143 (r'\M-8' , 'digit-arg' ),
144144 (r'\M-9' , 'digit-arg' ),
145145 #(r'\M-\n', 'insert-nl'),
146- ('\\ \\ ' , 'self-insert' )] + \
146+ ('\\ \\ ' , 'self-insert' )] +
147147 [(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 != '\\ ' ] +
149149 [(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 ()] +
151151 [(r'\<up>' , 'up' ),
152152 (r'\<down>' , 'down' ),
153153 (r'\<left>' , 'left' ),
@@ -244,9 +244,9 @@ def __init__(self, console):
244244 self .commands = {}
245245 self .msg = ''
246246 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 ()):
250250 self .commands [v .__name__ ] = v
251251 self .commands [v .__name__ .replace ('_' , '-' )] = v
252252 self .syntax_table = make_default_syntax_table ()
0 commit comments