(self, label)
Switch to the sibling arc with the given label bytes.
Switch to the sibling arc with the given label bytes.
Switch to the sibling arc with the given label bytes .
def switch_to(self, label):
        """Switch to the sibling arc with the given label bytes.
        """

        _label = self.label
        _at_last_arc = self.at_last_arc
        _next_arc = self.next_arc

        while True:
            thislabel = _label()
            if thislabel == label:
                return True
            if thislabel > label or _at_last_arc():
                return False
            _next_arc()
def switch_to ( self , label ) : _label = self . label _at_last_arc = self . at_last_arc _next_arc = self . next_arc while True : thislabel = _label ( ) if thislabel == label : return True if thislabel > label or _at_last_arc ( ) : return False _next_arc ( )