| Home | Trees | Index | Help |
|---|
| Package Pootle :: Package storage :: Module api :: Class IMapping |
|
object--+ |Interface--+ | IMapping
IHeader,
IModule| Method Summary | |
|---|---|
Delete key from container. | |
Get object by key. | |
Return length of store. | |
Create a new object, add it to this container and return it. | |
Get object by key, return None if not found. | |
Return list of tuples (key, value). | |
Return iterator over values. | |
Return list of object keys. | |
Return list of object values. | |
| Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
__delitem__(self,
key)
Delete key from container.
|
__getitem__(self,
key)
Get object by key.
|
__len__(self)
Return length of store.
|
add(self, key)Create a new object, add it to this container and return it. If an object with this name already exists, should raise KeyError. |
get(self, key, default=None)Get object by key, return None if not found. |
items(self)Return list of tuples (key, value). |
itervalues(self)Return iterator over values. |
keys(self)Return list of object keys. |
values(self)Return list of object values. |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Tue Aug 22 04:29:46 2006 | http://epydoc.sf.net |