MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _print_debug

Method _print_debug

tools/python-3.11.9-amd64/Lib/smtplib.py:299–303  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

297 self.debuglevel = debuglevel
298
299 def _print_debug(self, *args):
300 if self.debuglevel > 1:
301 print(datetime.datetime.now().time(), *args, file=sys.stderr)
302 else:
303 print(*args, file=sys.stderr)
304
305 def _get_socket(self, host, port, timeout):
306 # 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 3

nowMethod · 0.80
printFunction · 0.50
timeMethod · 0.45

Tested by

no test coverage detected