MCPcopy Index your code
hub / github.com/python/mypy / primitive_call

Function primitive_call

mypyc/transform/exceptions.py:149–159  ·  view source on GitHub ↗
(desc: CFunctionDescription, args: list[Value], line: int)

Source from the content-addressed store, hash-verified

147
148
149def primitive_call(desc: CFunctionDescription, args: list[Value], line: int) -> CallC:
150 return CallC(
151 desc.c_function_name,
152 [],
153 desc.return_type,
154 desc.steals,
155 desc.is_borrowed,
156 desc.error_kind,
157 line,
158 dependencies=desc.dependencies,
159 )
160
161
162def adjust_error_kinds(block: BasicBlock) -> None:

Callers 1

split_blocks_at_errorsFunction · 0.85

Calls 1

CallCClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…