def location(self):
    'Return Python comment indicating current parser file and line.'
    if (not self.file_info):
        return '\n'
    line = self.line
    info = self.fileinfo[(- 1)]
    file = ((info and (info.path or info.name)) or '(unknown template)')
    line = re.sub('-.*', '', str(line))
    return ('#line %s "%s"\n' % (line, file))
Return Python comment indicating current parser file and line.
def location(self):
    
    if (not self.file_info):
        return '\n'
    line = self.line
    info = self.fileinfo[(- 1)]
    file = ((info and (info.path or info.name)) or '(unknown template)')
    line = re.sub('-.*', , str(line))
    return ('#line %s "%s"\n' % (line, file))