def SetSegClass(ea, segclass):
    seg = idaapi.getseg(ea)

    if not seg:
        return False

    return idaapi.set_segm_class(seg, segclass)
Decorator to mark views which should not be accessed by signed in users.
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/SetSegClass--crossover with--dataset/ETHPy150Open idlesign/django-sitegate/sitegate/decorators.py/redirect_signedin