Skip to content

textual.walk

Functions for walking the DOM.

Note

For most purposes you would be better off using query, which uses these functions internally.

walk_breadth_first

walk_breadth_first(
    root: DOMNode, *, with_root: bool = True
) ->