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

Function success

mypyc/codegen/emitclass.py:1321–1323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1319 return emitter.emit_cpyfunction_instance(fn, fn_name, filepath, error_stmt)
1320
1321 def success() -> None:
1322 emitter.emit_line("return 1;")
1323 emitter.emit_line("}")
1324
1325 if cl.coroutine_name:
1326 # Callable class generated for a coroutine. It stores its function wrapper as an attribute.

Callers 1

generate_coroutine_setupFunction · 0.85

Calls 1

emit_lineMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…