MCPcopy Index your code
hub / github.com/reactive-python/reactpy / _make_tab_items

Function _make_tab_items

docs/source/_exts/reactpy_example.py:96–103  ·  view source on GitHub ↗
(labeled_content_tuples)

Source from the content-addressed store, hash-verified

94
95
96def _make_tab_items(labeled_content_tuples):
97 tab_items = ""
98 for label, content in labeled_content_tuples:
99 tab_items += _tab_item_template.format(
100 label=label,
101 content=content.replace("\n", "\n "),
102 )
103 return _string_to_nested_lines(tab_items)
104
105
106def _literal_include(path: Path, linenos: bool):

Callers 1

runMethod · 0.85

Calls 1

_string_to_nested_linesFunction · 0.85

Tested by

no test coverage detected