def _add_line_info(self, msg, pos):
        msg = "%s at line %s column %s" % (
            msg, pos[0], pos[1])
        if self.name:
            msg += " in file %s" % self.name
        return msg
dataset/ETHPy150Open mne-tools/mne-python/mne/externals/tempita/__init__.py/Template._add_line_info/original