File: //lib/python3/dist-packages/sphinx/util/__pycache__/template.cpython-310.pyc
o
$�a� � @ s d Z ddlZddlmZ ddlmZ ddlmZmZmZm Z m
Z
ddlmZ ddl
mZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ dd
lmZmZ G dd� d�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Z G dd� de�Z!dS )z�
sphinx.util.template
~~~~~~~~~~~~~~~~~~~~
Templates utility functions for Sphinx.
:copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�partial)�path)�Callable�Dict�List�Tuple�Union)�TemplateNotFound)�Environment)�
BaseLoader)�SandboxedEnvironment)�package_dir)�SphinxFileSystemLoader)�get_translator)�rst� texescapec @ sL e Zd Zd
deddfdd�Zdededefdd �Zd
ededefdd�ZdS )�BaseRendererN�loader�returnc C s. t |dgd�| _t| jjd<