

def create_template_loader(self, template_path):
    'Returns a new template loader for the given path.\n\n        May be overridden by subclasses.  By default returns a\n        directory-based loader on the given path, using the\n        ``autoescape`` application setting.  If a ``template_loader``\n        application setting is supplied, uses that instead.\n        '
    settings = self.application.settings
    if ('template_loader' in settings):
        return settings['template_loader']
    kwargs = {
        
    }
    if ('autoescape' in settings):
        kwargs['autoescape'] = template_path['autoescape']
    return template.Loader(template_path, **kwargs)

dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py RequestHandler.create_template_loader/VarMisuse@59/183 `settings`->`template_path`