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

Method set_debuglevel

Lib/ftplib.py:172–178  ·  view source on GitHub ↗

Set the debugging level. The required argument level means: 0: no debugging output (default) 1: print commands and responses but not body text etc. 2: also print raw lines read and sent before stripping CR/LF

(self, level)

Source from the content-addressed store, hash-verified

170 return self.welcome
171
172 def set_debuglevel(self, level):
173 '''Set the debugging level.
174 The required argument level means:
175 0: no debugging output (default)
176 1: print commands and responses but not body text etc.
177 2: also print raw lines read and sent before stripping CR/LF'''
178 self.debugging = level
179 debug = set_debuglevel
180
181 def set_pasv(self, val):

Callers 1

testFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected