class _TranslationProxy(UserString):
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.
This inherits from UserString because some docutils versions use UserString for their Text nodes, which then checks its argument for being either a basestring or UserString, otherwise calls str() -- not unicode() -- on it.
Method | __add__ |
Undocumented |
Method | __copy__ |
Undocumented |
Method | __dir__ |
Undocumented |
Method | __getattr__ |
Undocumented |
Method | __getnewargs__ |
Undocumented |
Method | __getstate__ |
Undocumented |
Method | __init__ |
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 |
Method | encode |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | _args |
Undocumented |
Instance Variable | _func |
Undocumented |
Property | data |
Undocumented |
Undocumented
Parameters | |
func:Callable | Undocumented |
*args:str | Undocumented |
Undocumented
Parameters | |
func:Callable | Undocumented |
*args:str | Undocumented |
Returns | |
object | Undocumented |