retype.extras

class retype.extras.AnyStr(*possibilities)[source]

Bases: UserString

A string that is equal to all `possibilities’. Each possibility should be equal in length.

isspace()[source]
join(iterable)[source]

Not like the str method because we don’t put anything in between

lstrip(chars=' ')[source]
rstrip(chars=' ')[source]
strip(chars=' ', directions=[1, -1])[source]
class retype.extras.ManifoldStr(data, rdict)[source]

Bases: UserString

classmethod by_parts(data, rdict, manifold)[source]
classmethod from_anystr_and_anystr(anystr1, anystr2)[source]
classmethod from_anystr_and_ms(anystr, ms)[source]
classmethod from_anystr_and_str(anystr, str_)[source]
classmethod from_ms_and_anystr(ms, anystr, order=1)[source]
classmethod from_ms_and_ms(ms1, ms2)[source]
classmethod from_ms_and_str(ms, str_, order=1)[source]
classmethod from_str_and_anystr(str_, anystr, order=1)[source]
classmethod from_str_and_ms(str_, ms)[source]
isspace()[source]
join(iterable)[source]
lstrip(chars=' ')[source]
rstrip(chars=' ')[source]
strip(chars=' ', directions=[1, -1])[source]

Modules

retype.extras.hashing

retype.extras.str_subclasses

retype.extras.utils