Package mpi4py :: Module MPI :: Class Info
[hide private]
[frames] | no frames]

Class Info


Info object
Instance Methods [hide private]
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
 
__contains__(y)
y in x
 
__delitem__(y)
del x[y]
 
__eq__(y)
x==y
 
__ge__(y)
x>=y
 
__getitem__(y)
x[y]
 
__gt__(y)
x>y
 
__iter__()
iter(x)
 
__le__(y)
x<=y
 
__len__()
len(x)
 
__lt__(y)
x<y
 
__ne__(y)
x!=y
a new object with type S, a subtype of T
__new__(S, ...)
 
__nonzero__()
x != 0
 
__setitem__(i, y)
x[i]=y
None
clear(self)
info clear
Info
copy(self)
info copy
Info
f2py(cls, arg: int)
Optional[str]
get(self, key: str, default: Optionalstr=... = None)
info get
List[Tuple[str, str]]
items(self)
info items
List[str]
keys(self)
info keys
str
pop(self, key: str, *default: str)
info pop
Tuple[str, str]
popitem(self)
info popitem
int
py2f(self)
None
update(self, other: UnionInfo=..., Mappingstr=..., str=..., IterableTuplestr=...=..., str=...=... = (), **kwds: str)
info update
List[str]
values(self)
info values

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

Get_nthkey(self, n: int)

 
Return the nth defined key in info. Keys are numbered in the range [0, N) where N is the value returned by Info.Get_nkeys()
Returns: str

__new__(S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__