Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ select_child
Function
select_child
Lib/xml/etree/ElementPath.py:158–160 ·
view source on GitHub ↗
(result)
Source
from the content-addressed store, hash-verified
156
select_tag = _prepare_tag(tag)
157
def
select(context, result):
158
def
select_child(result):
159
for
elem in result:
160
yield
from
elem
161
return
select_tag(context, select_child(result))
162
else
:
163
if
tag[:2] ==
'{}'
:
Callers
1
select
Function · 0.85
Calls
1
iter
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…