def anykey(d): """ Return any key in dictionary. :param d: dict: dictionary :return object """ return next(six.iterkeys(d))
def get_cids(self): return six.iterkeys(self.get_cid_hostports_map())