File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -103,12 +103,15 @@ FTP objects
103
103
104
104
.. method :: FTP.set_debuglevel(level)
105
105
106
- Set the instance's debugging level. This controls the amount of debugging
107
- output printed. The default, ``0 ``, produces no debugging output. A value of
108
- ``1 `` produces a moderate amount of debugging output, generally a single line
109
- per request. A value of ``2 `` or higher produces the maximum amount of
110
- debugging output, logging each line sent and received on the control connection.
111
-
106
+ Set the instance's debugging level as an :class: `int `.
107
+ This controls the amount of debugging output printed.
108
+ The debug levels are:
109
+
110
+ * ``0 `` (default): No debug output.
111
+ * ``1 ``: Produce a moderate amount of debug output,
112
+ generally a single line per request.
113
+ * ``2 `` or higher: Produce the maximum amount of debugging output,
114
+ logging each line sent and received on the control connection.
112
115
113
116
.. method :: FTP.connect(host='', port=0, timeout=None, source_address=None)
114
117
You can’t perform that action at this time.
0 commit comments