MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / dprint

Function dprint

tools/MT-Unsafe.py:31–38  ·  view source on GitHub ↗

Print messages for someone debugging this script. This wraps print().

(level, fmt, varlist=())

Source from the content-addressed store, hash-verified

29
30
31def dprint(level, fmt, varlist=()):
32 """Print messages for someone debugging this script. This wraps print()."""
33 if debug < level:
34 return
35 if varlist:
36 print(fmt % varlist, file=sys.stderr)
37 else:
38 print(fmt, file=sys.stderr)
39
40
41def vprint(level, fmt, varlist=()):

Callers 4

man_searchFunction · 0.85
do_man_pageFunction · 0.85
do_man_dirFunction · 0.85
MT-Unsafe.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected