

def _handle_include(self, tag):
    path = ''.join(tag.split()[1:]).strip().strip('\'"')
    _template = self._parse_another_template_file(path)
    self.code_builder.add(_template.code_builder)
    self.code_builder.add_line('{0}.append({1}())', self.result_var, _template.func_name)

dataset/ETHPy150Open mozillazg/bustard/bustard/template.py Template._handle_include/original