def __str__(self):
        msg = ' '.join(self.args)
        if self.position:
            msg = '%s at line %s column %s' % (
                msg, self.position[0], self.position[1])
        if self.name:
            msg += ' in %s' % self.name
        return msg
dataset/ETHPy150Open mne-tools/mne-python/mne/externals/tempita/__init__.py/TemplateError.__str__/original