(self, path)
return cur
查找路径

        Args:
            path: 要查找的路径, a list.

        Returns:
查找路径
查找路径
def search_path(self, path):
        """ 查找路径

        Args:
            path: 要查找的路径, a list.

        Returns:

        """
        cur = self._head

        for step in path:
            if not cur.find_child_node(step):
                return None
            else:
                cur = cur.find_child_node(step)
        return cur
def search_path ( self , path ) : cur = self . _head for step in path : if not cur . find_child_node ( step ) : return None else : cur = cur . find_child_node ( step ) return cur