Colorizer for Python tokens.

A series of tokens are written to instances of this object. Each is colored in a particular way. The final line of the result of this is generally added to the output.

Class Variable typeToColor Undocumented
Class Variable normalColor Undocumented
Method __init__ Undocumented
Instance Variable written Undocumented
Method color Undocumented
Method write Undocumented
Method __bytes__ Undocumented
typeToColor =
Undocumented
(type: Dict[str, str])
normalColor =
Undocumented
(type: str)
def __init__(self): (source)
Undocumented
written =
Undocumented
(type: List)
def color(self, type): (source)
Undocumented
def write(self, token, type=None): (source)
Undocumented
def __bytes__(self): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.