Known subclasses: twisted.conch.insults.helper._FormattingState, twisted.words.protocols.irc._FormattingState

Mixin for the formatting state/attributes of a single character.

Method copy Make a copy of this formatting state.
Method _withAttribute Add a character attribute to a copy of this formatting state.

Inherited from FancyEqMixin (via DefaultFormattingState):

Method __eq__ Undocumented
Method __ne__ Undocumented

Inherited from FancyEqMixin (via DefaultFormattingState):

Method __eq__ Undocumented
Method __ne__ Undocumented
def copy(self): (source)

Make a copy of this formatting state.

ReturnsA formatting state instance.
def _withAttribute(self, name, value): (source)

Add a character attribute to a copy of this formatting state.

ParametersnameAttribute name to be added to formatting state.
valueAttribute value.
ReturnsA formatting state instance with the new attribute.
API Documentation for Twisted, generated by pydoctor at 2019-08-06 12:10:50.