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

Method c_error_value

mypyc/codegen/emit.py:390–391  ·  view source on GitHub ↗
(self, rtype: RType)

Source from the content-addressed store, hash-verified

388 assert False, rtype
389
390 def c_error_value(self, rtype: RType) -> str:
391 return self.c_undefined_value(rtype)
392
393 def native_function_name(self, fn: FuncDecl) -> str:
394 return f"{NATIVE_PREFIX}{fn.cname(self.names)}"

Callers 7

error_value_checkMethod · 0.95
emit_union_castMethod · 0.95
emit_arg_checkMethod · 0.95
emit_unboxMethod · 0.95
emit_error_checkMethod · 0.95
generate_arg_checkFunction · 0.45

Calls 1

c_undefined_valueMethod · 0.95

Tested by

no test coverage detected