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

Function _debug

Lib/http/cookiejar.py:44–51  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

42logger = None
43
44def _debug(*args):
45 if not debug:
46 return
47 global logger
48 if not logger:
49 import logging
50 logger = logging.getLogger("http.cookiejar")
51 return logger.debug(*args)
52
53HTTPONLY_ATTR = "HTTPOnly"
54HTTPONLY_PREFIX = "#HttpOnly_"

Callers 15

request_portFunction · 0.85
set_okMethod · 0.85
set_ok_versionMethod · 0.85
set_ok_verifiabilityMethod · 0.85
set_ok_nameMethod · 0.85
set_ok_pathMethod · 0.85
set_ok_domainMethod · 0.85
set_ok_portMethod · 0.85
return_okMethod · 0.85
return_ok_versionMethod · 0.85
return_ok_secureMethod · 0.85

Calls 2

getLoggerMethod · 0.80
debugMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…