Package horizons :: Package ext :: Module polib :: Class MOEntry
[hide private]
[frames] | no frames]

Class MOEntry

source code

object --+    
         |    
_BaseEntry --+
             |
            MOEntry

Represents a mo file entry.

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Constructor, accepts the following keyword arguments, for consistency with :class:`~polib.POEntry`:
source code
 
__hash__(self)
hash(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

    Inherited from _BaseEntry
 
__eq__(self, other) source code
 
__str__(self)
Returns the string representation of the entry.
source code
 
__unicode__(self, wrapwidth=78)
Returns the unicode representation of the entry.
source code
 
_str_field(self, fieldname, delflag, plural_index, field, wrapwidth=78) source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

Constructor, accepts the following keyword arguments, for consistency with :class:`~polib.POEntry`:

``comment`` ``tcomment`` ``occurrences`` ``flags`` ``previous_msgctxt`` ``previous_msgid`` ``previous_msgid_plural``

Note: even though these keyword arguments are accepted, they hold no real meaning in the context of MO files and are simply ignored.

Overrides: object.__init__

__hash__(self)
(Hashing function)

source code 

hash(x)

Overrides: object.__hash__
(inherited documentation)