class documentation

class TemplateModule:

View In Hierarchy

Represents an imported template. All the exported names of the template are available as attributes on this object. Additionally converting it into a string renders the contents.
Method __html__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Instance Variable __name__ Undocumented
Instance Variable ​_body​_stream Undocumented
def __html__(self):

Undocumented

Returns
MarkupUndocumented
def __init__(self, template, context, body_stream=None):

Undocumented

Parameters
template:TemplateUndocumented
context:ContextUndocumented
body​_stream:t.Optional[t.Iterable[str]]Undocumented
def __repr__(self):

Undocumented

Returns
strUndocumented
def __str__(self):

Undocumented

Returns
strUndocumented
__name__ =

Undocumented

_body_stream =

Undocumented