def __init__(self, template, tolerant=False, **kwargs):
        """Initialize string.Formatter."""
        super(StringFormatter, self).__init__(**kwargs)

        self.template = template
        self.formatter = FormatterWrapper(tolerant=tolerant)
def __init__ ( self , template , tolerant = False , ** kwargs ) : super ( StringFormatter , self ) . __init__ ( ** kwargs ) self . template = template self . formatter = FormatterWrapper ( tolerant = tolerant )
Initialize string.Formatter.