|
Create(type cls)
Create a new, empty info object |
|
|
|
Delete(self,
key)
Remove a (key, value) pair from info |
|
|
|
Dup(self)
Duplicate an existing info object, creating a new object, with
the same (key, value) pairs and the same ordering of keys |
|
|
|
Free(self)
Free a info object |
|
|
|
Get(self,
key,
int maxlen=-1)
Retrieve the value associated with a key |
|
|
|
Get_nkeys(self)
Return the number of currently defined keys in info |
|
|
|
Get_nthkey(self,
int n)
Return the nth defined key in info. |
|
|
|
Set(self,
key,
value)
Add the (key, value) pair to info, and overrides the value if
a value for the same key was previously set |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
|
|
|
|
|
|
|
|
|
get(self,
key,
default=None)
info get |
|
|
|
|
|
|
|
|
|
update(self,
other=(),
**kwds)
info update |
|
|
|
|