class documentation

class _TranslationProxy: (source)

View In Hierarchy

Class for proxy strings from gettext translations. This is a helper for the lazy_* functions from this module. The proxy implementation attempts to be as complete as possible, so that the lazy objects should mostly work as expected, for example for sorting.

Method __add__ Undocumented
Method __contains__ Undocumented
Method __copy__ Undocumented
Method __dir__ Undocumented
Method __eq__ Undocumented
Method __getattr__ Undocumented
Method __getitem__ Undocumented
Method __getnewargs__ Undocumented
Method __getstate__ Undocumented
Method __hash__ Undocumented
Method __init__ Undocumented
Method __len__ Undocumented
Method __lt__ Undocumented
Method __mod__ Undocumented
Method __mul__ Undocumented
Method __new__ Undocumented
Method __radd__ Undocumented
Method __repr__ Undocumented
Method __rmod__ Undocumented
Method __rmul__ Undocumented
Method __setstate__ Undocumented
Method __str__ Undocumented
Class Variable __slots__ Undocumented
Instance Variable _args Undocumented
Instance Variable _func Undocumented
def __add__(self, other): (source)

Undocumented

Parameters
other:strUndocumented
Returns
strUndocumented
def __contains__(self, char): (source)

Undocumented

def __copy__(self): (source)

Undocumented

Returns
_TranslationProxyUndocumented
def __dir__(self): (source)

Undocumented

Returns
List[str]Undocumented
def __eq__(self, other): (source)

Undocumented

def __getattr__(self, name): (source)

Undocumented

Parameters
name:strUndocumented
Returns
AnyUndocumented
def __getitem__(self, index): (source)

Undocumented

def __getnewargs__(self): (source)

Undocumented

Returns
Tuple[str]Undocumented
def __getstate__(self): (source)

Undocumented

Returns
Tuple[Callable[..., str], Tuple[str, ...]]Undocumented
def __hash__(self): (source)

Undocumented

def __init__(self, func, *args): (source)

Undocumented

Parameters
func:Callable[..., str]Undocumented
*args:strUndocumented
def __len__(self): (source)

Undocumented

def __lt__(self, string): (source)

Undocumented

def __mod__(self, other): (source)

Undocumented

Parameters
other:strUndocumented
Returns
strUndocumented
def __mul__(self, other): (source)

Undocumented

Parameters
other:AnyUndocumented
Returns
strUndocumented
def __new__(cls, func, *args): (source)

Undocumented

Parameters
clsUndocumented
func:Callable[..., str]Undocumented
*args:strUndocumented
Returns
_TranslationProxyUndocumented
def __radd__(self, other): (source)

Undocumented

Parameters
other:strUndocumented
Returns
strUndocumented
def __repr__(self): (source)

Undocumented

Returns
strUndocumented
def __rmod__(self, other): (source)

Undocumented

Parameters
other:strUndocumented
Returns
strUndocumented
def __rmul__(self, other): (source)

Undocumented

Parameters
other:AnyUndocumented
Returns
strUndocumented
def __setstate__(self, tup): (source)

Undocumented

Parameters
tup:Tuple[Callable[..., str], Tuple[str]]Undocumented
def __str__(self): (source)

Undocumented

Returns
strUndocumented
__slots__: tuple[str, ...] = (source)

Undocumented

Undocumented

Undocumented