MCPcopy Index your code
hub / github.com/python/cpython / find_block

Function find_block

Lib/test/test_symtable.py:175–178  ·  view source on GitHub ↗
(block, name)

Source from the content-addressed store, hash-verified

173
174
175def find_block(block, name):
176 for ch in block.get_children():
177 if ch.get_name() == name:
178 return ch
179
180
181class SymtableTest(unittest.TestCase):

Callers 4

SymtableTestClass · 0.85
check_bodyMethod · 0.85
test_bytesMethod · 0.85

Calls 2

get_childrenMethod · 0.45
get_nameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…