(self, key)
Moves the cursor to the path represented by the given key bytes.
Moves the cursor to the path represented by the given key bytes.
Moves the cursor to the path represented by the given key bytes .
def skip_to(self, key):
        """Moves the cursor to the path represented by the given key bytes.
        """

        _accept = self.accept
        _prefix = self.prefix
        _next_arc = self.next_arc

        keylist = list(key)
        while True:
            if _accept():
                thiskey = list(_prefix())
                if keylist == thiskey:
                    return True
                elif keylist > thiskey:
                    return False
            _next_arc()
def skip_to ( self , key ) : _accept = self . accept _prefix = self . prefix _next_arc = self . next_arc keylist = list ( key ) while True : if _accept ( ) : thiskey = list ( _prefix ( ) ) if keylist == thiskey : return True elif keylist > thiskey : return False _next_arc ( )