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

Function _find_inline

website/readme_parser.py:162–167  ·  view source on GitHub ↗

Find the inline node in a list_item's paragraph.

(node: SyntaxTreeNode)

Source from the content-addressed store, hash-verified

160
161
162def _find_inline(node: SyntaxTreeNode) -> SyntaxTreeNode | None:
163 """Find the inline node in a list_item's paragraph."""
164 para = _find_child(node, "paragraph")
165 if para is None:
166 return None
167 return _find_child(para, "inline")
168
169
170def _extract_description_html(inline: SyntaxTreeNode, first_link: SyntaxTreeNode) -> str:

Callers 3

_parse_list_entriesFunction · 0.85
parse_sponsorsFunction · 0.85

Calls 1

_find_childFunction · 0.85

Tested by 1