Function | cram |
Omit part of a string if needed to make it fit in a maximum length. |
Function | replace |
Do a series of global replacements on a string. >>> replace("abc xyz", "xyz", "abc") 'abc abc' |
Function | stripid |
Remove the hexadecimal id from a Python object representation. |
Variable | LOGGER |
Undocumented |
Variable | _re_stripid |
Undocumented |
Parameters | |
text:str | Undocumented |
maximum_length:int | Undocumented |
Returns | |
str | Undocumented |
Parameters | |
text:str | Undocumented |
pairs:str | Undocumented |
Returns | |
str | Undocumented |