'Args
keyvalues: iterable of (str, llvm.Value of PyObject*)'

def dict_pack(self, keyvalues):

    dictobj = self.dict_new()
    with self.if_object_ok(dictobj):
        for (k, v) in keyvalues:
            self.dict_setitem_string(dictobj, k, v)
    return dictobj
