Docs for T.__hash__.__self__
Description
<class 'gluon.languages.translator'>
1. |
|
Attributes
T.__hash__.__self__.__call__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
T.__hash__.__self__.__class__ |
<type 'type'> extends (<type 'object'>,)
belongs to class <type 'type'>
this class is intantiated once in gluon/main.py as the T object T.force(None) # turns off translation T.force('fr, it') # forces web2py to translate using fr.py or it.py T("Hello World") # translates "Hello World" using the selected file notice 1: there is no need to force since, by default, T uses accept_langauge to determine a translation file. notice 2: en and en-en are considered different languages! |
T.__hash__.__self__.__delattr__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__delattr__('name') <==> del x.name |
T.__hash__.__self__.__dict__ |
<type 'dict'>
belongs to class <type 'dict'>
dict() -> new empty dictionary. dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs. dict(seq) -> new dictionary initialized as if via: d = {} for k, v in seq: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) |
T.__hash__.__self__.__doc__ |
<type 'str'>
belongs to class <type 'str'>
str(object) -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object. |
T.__hash__.__self__.__getattribute__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__getattribute__('name') <==> x.name |
T.__hash__.__self__.__hash__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__hash__() <==> hash(x) |
T.__hash__.__self__.__init__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
T.__hash__.__self__.__module__ |
<type 'str'>
belongs to class <type 'str'>
str(object) -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object. |
T.__hash__.__self__.__new__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
T.__new__(S, ...) -> a new object with type S, a subtype of T |
T.__hash__.__self__.__reduce__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
helper for pickle |
T.__hash__.__self__.__reduce_ex__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
helper for pickle |
T.__hash__.__self__.__repr__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__repr__() <==> repr(x) |
T.__hash__.__self__.__setattr__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__setattr__('name', value) <==> x.name = value |
T.__hash__.__self__.__str__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__str__() <==> str(x) |
T.__hash__.__self__.__weakref__ |
<type 'NoneType'>
belongs to class <type 'NoneType'>
|
T.__hash__.__self__.current_languages |
<type 'list'>
belongs to class <type 'list'>
list() -> new list list(sequence) -> new list initialized from sequence's items |
T.__hash__.__self__.folder |
<type 'str'>
belongs to class <type 'str'>
str(object) -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object. |
T.__hash__.__self__.force |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
T.__hash__.__self__.t |
<type 'NoneType'>
belongs to class <type 'NoneType'>
|