def SetBmaskCmt(enum_id, bmask, cmt, repeatable):
    if bmask < 0:
        bmask &= BADADDR
    return idaapi.set_bmask_cmt(enum_id, bmask, cmt, repeatable)
Set bitmask comment (only for bitfields)
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/SetBmaskCmt