def __init__(self, **options):
        Formatter.__init__(self, **options)
        self.compress = get_choice_opt(options, 'compress',
                                       ['', 'none', 'gz', 'bz2'], '')
        self.error_color = options.get('error_color', None)
        if self.error_color is True:
            self.error_color = 'red'
        if self.error_color is not None:
            try:
                colorize(self.error_color, '')
            except __HOLE__:
                raise ValueError("Invalid color %r specified" %
                                 self.error_color)
dataset/ETHPy150Open joeyb/joeyb-blog/externals/pygments/formatters/other.py/RawTokenFormatter.__init__