pg.utils.RawText¶
Accessible via pg.utils.RawText.
- class RawText(text)[source]¶
Bases:
pg.FormattableRaw text.
Methods:
format(*args, **kwargs)Formats this object into a string representation.
- format(*args, **kwargs)[source]¶
Formats this object into a string representation.
- Parameters:
compact – If True, this object will be formatted into a single line.
verbose – If True, this object will be formatted with verbosity. Subclasses should define verbosity on their own.
root_indent – The start indent level for this object if the output is a multi-line string.
**kwargs – Subclass specific keyword arguments.
- Returns:
A string of formatted object.