def RenameSeg(ea, name):
    seg = idaapi.getseg(ea)

    if not seg:
        return False

    return idaapi.set_segm_name(seg, name)
Record a debugging message.
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/RenameSeg--crossover with--dataset/ETHPy150Open ryanuber/pakrat/pakrat/log.py/debug