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

Method debug_print

mypyc/irbuild/ll_builder.py:374–377  ·  view source on GitHub ↗
(self, toprint: str | Value)

Source from the content-addressed store, hash-verified

372 self.keep_alives = []
373
374 def debug_print(self, toprint: str | Value) -> None:
375 if isinstance(toprint, str):
376 toprint = self.load_str(toprint)
377 self.primitive_op(debug_print_op, [toprint], -1)
378
379 # Type conversions
380

Callers 1

test_debug_opMethod · 0.95

Calls 3

load_strMethod · 0.95
primitive_opMethod · 0.95
isinstanceFunction · 0.85

Tested by 1

test_debug_opMethod · 0.76