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

Method _dbg

Lib/tarfile.py:3017–3021  ·  view source on GitHub ↗

Write debugging output to sys.stderr.

(self, level, msg)

Source from the content-addressed store, hash-verified

3015 yield tarinfo
3016
3017 def _dbg(self, level, msg):
3018 """Write debugging output to sys.stderr.
3019 """
3020 if level <= self.debug:
3021 print(msg, file=sys.stderr)
3022
3023 def __enter__(self):
3024 self._check()

Callers 8

addMethod · 0.95
_get_extract_tarinfoMethod · 0.95
_handle_fatal_errorMethod · 0.95
_extract_memberMethod · 0.95
makeunknownMethod · 0.95
nextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected