Module polib :: Class _BaseEntry
[hide private]
[frames] | no frames]

Class _BaseEntry

source code

object --+
         |
        _BaseEntry
Known Subclasses:

Base class for POEntry or MOEntry objects. This class must *not* be instanciated directly.

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Base Entry constructor.
source code
 
__repr__(self)
Return the official string representation of the object.
source code
 
__str__(self, wrapwidth=78)
Common string representation of the POEntry and MOEntry objects.
source code
 
_str_field(self, fieldname, delflag, plural_index, field) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

Base Entry constructor.

Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

Return the official string representation of the object.

Overrides: object.__repr__

__str__(self, wrapwidth=78)
(Informal representation operator)

source code 

Common string representation of the POEntry and MOEntry objects.

Overrides: object.__str__