OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | NativeCodeGenerator |
class | NativeEnvironment |
class | NativeTemplate |
Functions | |
def | native_concat (nodes) |
def jinja2.nativetypes.native_concat | ( | nodes | ) |
Return a native Python type from the list of compiled nodes. If the result is a single node, its value is returned. Otherwise, the nodes are concatenated as strings. If the result can be parsed with :func:`ast.literal_eval`, the parsed value is returned. Otherwise, the string is returned. :param nodes: Iterable of nodes to concatenate.