class documentation

Class to encapsulate a python value and translate it to HTML when calling repr() on the _ValueFormatter. Used for presenting default values of parameters.

Method __init__ Undocumented
Method __repr__ Present the python value as HTML. Without the englobing <code> tags.
Instance Variable _colorized The colorized value as ParsedDocstring.
Instance Variable _linker Linker.
def __init__(self, value: ast.expr, ctx: model.Documentable): (source)
def __repr__(self) -> str: (source)

Present the python value as HTML. Without the englobing <code> tags.

_colorized = (source)

The colorized value as ParsedDocstring.