def SetSegAddressing(ea, bitness):
    seg = idaapi.getseg(ea)

    if not seg:
        return False

    seg.bitness = bitness

    return True
If nowait is specified, we expect an error to be raised rather
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/SetSegAddressing--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/modeltests/select_for_update/tests.py/SelectForUpdateTests.test_nowait_raises_error_on_block