def Get_nthkey(self, n): return _mpi.info_get_nthkey(self, n)
def __iter__(self): if self == _mpi.INFO_NULL: return nkeys = _mpi.info_get_nkeys(self) for nthkey in xrange(nkeys): yield _mpi.info_get_nthkey(self, nthkey)