def _CheckLocksEnabled(self):
    if not self._enable_locks:
      raise errors.ProgrammerError("Attempted to use disabled locks")
Set the stretch factor for the underlying widget.
dataset/ETHPy150Open ganeti/ganeti/lib/mcpu.py/Processor._CheckLocksEnabled--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_split_item.py/WxSplitItem.set_stretch