class documentation
class _NormalAttr(_Attribute): (source)
A text attribute for normal text.
Method | serialize |
Serialize the text attribute and its children. |
Inherited from _Attribute
:
Method | __getitem__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Class Variable | compare |
Undocumented |
Instance Variable | children |
Child attributes. |
Inherited from FancyEqMixin
(via _Attribute
):
Method | __eq__ |
Undocumented |
Method | __ne__ |
Undocumented |
Serialize the text attribute and its children.
Parameters | |
write | callable, taking one str argument, called to output a single text attribute at a time. |
attrs | A formatting state instance used to determine how to serialize the attribute children. |
attribute | Name of the method on attrs that should be called to render the attributes during serialization. Defaults to 'toVT102'. |