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

Method set_debuglevel

Lib/smtplib.py:297–304  ·  view source on GitHub ↗

Set the debug output level. A non-false value results in debug messages for connection and for all messages sent to and received from the server.

(self, debuglevel)

Source from the content-addressed store, hash-verified

295 self.close()
296
297 def set_debuglevel(self, debuglevel):
298 """Set the debug output level.
299
300 A non-false value results in debug messages for connection and for all
301 messages sent to and received from the server.
302
303 """
304 self.debuglevel = debuglevel
305
306 def _print_debug(self, *args):
307 if self.debuglevel > 1:

Callers 1

smtplib.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected