Info
|
Create(cls)
Create a new, empty info object |
|
|
None
|
Delete(self,
key: str)
Remove a (key, value) pair from info |
|
|
Info
|
Dup(self)
Duplicate an existing info object, creating a new object, with
the same (key, value) pairs and the same ordering of keys |
|
|
None
|
Free(self)
Free a info object |
|
|
Optional[str]
|
Get(self,
key: str,
maxlen: int= -1)
Retrieve the value associated with a key |
|
|
int
|
Get_nkeys(self)
Return the number of currently defined keys in info |
|
|
str
|
Get_nthkey(self,
n: int)
Return the nth defined key in info. |
|
|
None
|
Set(self,
key: str,
value: str)
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
|
|
|
|
|
|
None
|
|
Info
|
|
Info
|
|
Optional[str]
|
get(self,
key: str,
default: Optionalstr=... = None)
info get |
|
|
List[Tuple[str, str]]
|
|
List[str]
|
|
str
|
pop(self,
key: str,
*default: str)
info pop |
|
|
Tuple[str, str]
|
popitem(self)
info popitem |
|
|
int
|
|
None
|
update(self,
other: UnionInfo=...,
Mappingstr=...,
str=...,
IterableTuplestr=...=...,
str=...=... = (),
**kwds: str)
info update |
|
|
List[str]
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|