MCPcopy
hub / github.com/vinta/awesome-python / flush_cat

Function flush_cat

website/readme_parser.py:323–328  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

321 current_cat_body: list[SyntaxTreeNode] = []
322
323 def flush_cat() -> None:
324 nonlocal current_cat_name
325 if current_cat_name is None:
326 return
327 current_group_cats.append(_build_section(current_cat_name, current_cat_body))
328 current_cat_name = None
329
330 def flush_group() -> None:
331 nonlocal current_group_name, current_group_cats

Callers 1

_parse_grouped_sectionsFunction · 0.85

Calls 1

_build_sectionFunction · 0.85

Tested by

no test coverage detected