MCPcopy Create free account
hub / github.com/awolverp/markupever / _get_text

Function _get_text

python/tests/test_rustlib.py:481–488  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

479
480
481def _get_text(node) -> str:
482 s = ""
483
484 for n in rl.iter.Descendants(node):
485 if isinstance(n, rl.Text):
486 s += n.content
487
488 return s.strip()
489
490
491def test_select():

Callers 1

test_selectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected