class documentation

class _ValueFormatter: (source)

View In Hierarchy

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, ctx): (source)

Undocumented

Parameters
value:AnyUndocumented
ctx:model.DocumentableUndocumented
def __repr__(self): (source)

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

Returns
strUndocumented
_colorized = (source)

The colorized value as ParsedDocstring.

Linker.