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

Method _print_debug

Lib/smtplib.py:306–310  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

304 self.debuglevel = debuglevel
305
306 def _print_debug(self, *args):
307 if self.debuglevel > 1:
308 print(datetime.datetime.now().time(), *args, file=sys.stderr)
309 else:
310 print(*args, file=sys.stderr)
311
312 def _get_socket(self, host, port, timeout):
313 # This makes it simpler for SMTP_SSL to use the SMTP connect code

Callers 7

_get_socketMethod · 0.95
connectMethod · 0.95
sendMethod · 0.95
getreplyMethod · 0.95
dataMethod · 0.95
_get_socketMethod · 0.80
connectMethod · 0.80

Calls 2

nowMethod · 0.80
timeMethod · 0.45

Tested by

no test coverage detected