File tree 1 file changed +7
-9
lines changed
1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -83,16 +83,14 @@ class BPythonFormatter(Formatter):
83
83
See the Pygments source for more info; it's pretty
84
84
straightforward."""
85
85
86
- f_strings = {}
87
-
88
86
def __init__ (self , color_scheme , ** options ):
89
- if not self .f_strings :
90
- for k , v in theme_map .iteritems ():
91
- self .f_strings [k ] = '\x01 %s' % (color_scheme [v ],)
92
- if k is Parenthesis :
93
- # FIXME: Find a way to make this the inverse of the current
94
- # background colour
95
- self .f_strings [k ] += 'I'
87
+ self .f_strings = {}
88
+ for k , v in theme_map .iteritems ():
89
+ self .f_strings [k ] = '\x01 %s' % (color_scheme [v ],)
90
+ if k is Parenthesis :
91
+ # FIXME: Find a way to make this the inverse of the current
92
+ # background colour
93
+ self .f_strings [k ] += 'I'
96
94
Formatter .__init__ (self , ** options )
97
95
98
96
def format (self , tokensource , outfile ):
You can’t perform that action at this time.
0 commit comments