https://github.com/python/cpython/commit/bd8bd4f404fedae53b062879e19f540567ea94d4
commit: bd8bd4f404fedae53b062879e19f540567ea94d4
branch: 3.11
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: erlend-aasland <erlend.aasl...@protonmail.com>
date: 2024-01-21T11:26:55+01:00
summary:

[3.11] Docs: mark up the FTP debug levels as a list (GH-114360) (#114376)

(cherry picked from commit fbc28748eaf578436ef9662363575f6bdde2e2f7)

Co-authored-by: Erlend E. Aasland <erl...@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hug...@users.noreply.github.com>

files:
M Doc/library/ftplib.rst

diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst
index 349032ae19b31a..e4b696c1e4e9d3 100644
--- a/Doc/library/ftplib.rst
+++ b/Doc/library/ftplib.rst
@@ -103,12 +103,15 @@ FTP objects
 
    .. method:: FTP.set_debuglevel(level)
 
-      Set the instance's debugging level.  This controls the amount of 
debugging
-      output printed.  The default, ``0``, produces no debugging output.  A 
value of
-      ``1`` produces a moderate amount of debugging output, generally a single 
line
-      per request.  A value of ``2`` or higher produces the maximum amount of
-      debugging output, logging each line sent and received on the control 
connection.
-
+      Set the instance's debugging level as an :class:`int`.
+      This controls the amount of debugging output printed.
+      The debug levels are:
+
+      * ``0`` (default): No debug output.
+      * ``1``: Produce a moderate amount of debug output,
+        generally a single line per request.
+      * ``2`` or higher: Produce the maximum amount of debugging output,
+        logging each line sent and received on the control connection.
 
    .. method:: FTP.connect(host='', port=0, timeout=None, source_address=None)
 

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to