Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/python/mypy
/ make_block
Function
make_block
mypyc/test/test_pprint.py:14–17 ·
view source on GitHub ↗
(ops: list[Op])
Source
from the content-addressed store, hash-verified
12
13
14
def
make_block(ops: list[Op]) -> BasicBlock:
15
block = BasicBlock()
16
block.ops.extend(ops)
17
return
block
18
19
20
class
TestGenerateNames(unittest.TestCase):
Callers
2
test_int_op
Method · 0.85
test_assign
Method · 0.85
Calls
2
BasicBlock
Class · 0.90
extend
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…