def __init__(self, data, **formatters):
        self.data = force_decode(data)
        self.formatters = formatters

        try:
            self.data % self._Null()
        except ValueError:
            raise TemplateError("invalid format")
        except TypeError as type_error:
            raise TemplateError(str(type_error))

        self.data % self._Checker(self.formatters)
dataset/ETHPy150Open abusesa/abusehelper/abusehelper/core/templates.py/Template.__init__/original