twisted.words.protocols.irc.parseFormattedText(text)
function documentationtwisted.words.protocols.irc
View Source
Parse text containing IRC formatting codes into structured information.
Color codes are mapped from 0 to 15 and wrap around if greater than 15.
Parameters | text | Formatted text to parse. (type: str ) |
Returns | Structured text and attributes. | |
Present Since | 13.1 |