From 8bdede334e04b7f62913e110f4a4e44d2c0b2d61 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Sun, 12 Mar 2017 19:19:00 -0700 Subject: [PATCH] fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) --- Doc/library/ftplib.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst index 1e35f37f448bcd..a0cbe93e3a75c4 100644 --- a/Doc/library/ftplib.rst +++ b/Doc/library/ftplib.rst @@ -248,9 +248,9 @@ followed by ``lines`` for the text version or ``binary`` for the binary version. prints the line to ``sys.stdout``. -.. method:: FTP.set_pasv(boolean) +.. method:: FTP.set_pasv(val) - Enable "passive" mode if *boolean* is true, other disable passive mode. + Enable "passive" mode if *val* is true, otherwise disable passive mode. Passive mode is on by default.