module documentation

exception classes
Class ​Rich​Traceback Pull the current exception from the sys traceback and extracts Mako-specific template information.
Function html​_error​_template No summary
Function text​_error​_template No summary
Class ​Compile​Exception Undocumented
Class ​Mako​Exception Undocumented
Class ​Name​Conflict​Error raised when a reserved word is used inappropriately
Class ​Runtime​Exception Undocumented
Class ​Syntax​Exception Undocumented
Class ​Template​Lookup​Exception Undocumented
Class ​Top​Level​Lookup​Exception Undocumented
Class ​Unsupported​Error raised when a retired feature is used.
Function ​_format​_filepos Undocumented
Function ​_install​_fallback Undocumented
Function ​_install​_highlighting Undocumented
Function ​_install​_pygments Undocumented
def html_error_template():

Provides a template that renders a stack trace in an HTML format, providing an excerpt of code as well as substituting source template filenames, line numbers and code for that of the originating source template, as applicable.

The template's default encoding_errors value is 'htmlentityreplace'. The template has two options. With the full option disabled, only a section of an HTML document is returned. With the css option disabled, the default stylesheet won't be included.

def text_error_template(lookup=None):
Provides a template that renders a stack trace in a similar format to the Python interpreter, substituting source template filenames, line numbers and code for that of the originating source template, as applicable.
def _format_filepos(lineno, pos, filename):

Undocumented

def _install_fallback():

Undocumented

def _install_highlighting():

Undocumented

def _install_pygments():

Undocumented