MCPcopy Index your code
hub / github.com/python/cpython / verbose_print

Function verbose_print

Lib/test/test_thread.py:20–24  ·  view source on GitHub ↗

Helper function for printing out debugging output.

(arg)

Source from the content-addressed store, hash-verified

18_print_mutex = thread.allocate_lock()
19
20def verbose_print(arg):
21 """Helper function for printing out debugging output."""
22 if support.verbose:
23 with _print_mutex:
24 print(arg)
25
26
27class BasicThreadTest(unittest.TestCase):

Callers 6

newtaskMethod · 0.70
taskMethod · 0.70
test_starting_threadsMethod · 0.70
test_barrierMethod · 0.70
task2Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…