Package moul :: Package file :: Module localization :: Class Translation
[hide private]
[frames] | no frames]

Class Translation



object --+        
         |        
basestring --+    
             |    
       unicode --+
                 |
                Translation

Translation object
>>> Translation(u"earth", u"journal", u"mybook", u"english", u"text", "file")
u'text'


Instance Methods [hide private]
  key(self)
  __str__(self)
str(x)

Inherited from unicode: __add__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __getnewargs__, __getslice__, __gt__, __hash__, __le__, __len__, __lt__, __mod__, __mul__, __ne__, __repr__, __rmod__, __rmul__, capitalize, center, count, decode, encode, endswith, expandtabs, find, index, isalnum, isalpha, isdecimal, isdigit, islower, isnumeric, isspace, istitle, isupper, join, ljust, lower, lstrip, partition, replace, rfind, rindex, rjust, rpartition, rsplit, rstrip, split, splitlines, startswith, strip, swapcase, title, translate, upper, zfill

Inherited from object: __delattr__, __init__, __reduce__, __reduce_ex__, __setattr__


Static Methods [hide private]
  __new__(cls, age, set, element, language, content, fname='')

Class Variables [hide private]
  __slots__ = ('_age', '_set', '_element', '_language', '_fname')
  _age = <member '_age' of 'Translation' objects>
  _element = <member '_element' of 'Translation' objects>
  _fname = <member '_fname' of 'Translation' objects>
  _language = <member '_language' of 'Translation' objects>
  _set = <member '_set' of 'Translation' objects>

Properties [hide private]
  language
  age
  set
  element
  fname

Inherited from object: __class__


Method Details [hide private]

__new__(cls, age, set, element, language, content, fname='')
Static Method

 
Returns:
a new object with type S, a subtype of T

Overrides: unicode.__new__
(inherited documentation)

key(self)

 
None

__str__(self)
(Informal representation operator)

 
str(x)
Overrides: unicode.__str__
(inherited documentation)

Class Variable Details [hide private]

__slots__

None
Value:
('_age', '_set', '_element', '_language', '_fname')                    
      

_age

None
Value:
<member '_age' of 'Translation' objects>                               
      

_element

None
Value:
<member '_element' of 'Translation' objects>                           
      

_fname

None
Value:
<member '_fname' of 'Translation' objects>                             
      

_language

None
Value:
<member '_language' of 'Translation' objects>                          
      

_set

None
Value:
<member '_set' of 'Translation' objects>                               
      

Property Details [hide private]

language

None
Get Method:
unreachable.language(self)
Set Method:
None                                                                  
- helper for pickle
Delete Method:
None                                                                  
- helper for pickle

age

None
Get Method:
unreachable.age(self)
Set Method:
None                                                                  
- helper for pickle
Delete Method:
None                                                                  
- helper for pickle

set

None
Get Method:
unreachable.set(self)
Set Method:
None                                                                  
- helper for pickle
Delete Method:
None                                                                  
- helper for pickle

element

None
Get Method:
unreachable.element(self)
Set Method:
None                                                                  
- helper for pickle
Delete Method:
None                                                                  
- helper for pickle

fname

None
Get Method:
unreachable.fname(self)
Set Method:
None                                                                  
- helper for pickle
Delete Method:
None                                                                  
- helper for pickle