def METHOD_NAME(self):
    const_tbl = self.co_consts
    consts_arr = uarray.array("P", [0] * len(const_tbl))
    for i in range(len(const_tbl)):
        if isinstance(const_tbl[i], CodeType):
            raw_code = self.codeobj2rawcode(const_tbl[i])
            consts_arr[i] = uctypes.addressof(raw_code)
        else:
            consts_arr[i] = id(const_tbl[i])
    return consts_arr