From: Xiang Zhang Date: Mon, 13 Mar 2017 02:36:34 +0000 (+0800) Subject: fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-654) X-Git-Tag: v3.6.2rc1~319 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7927abba3449e12d0ae3518b722fdfeb383b4039;p=thirdparty%2FPython%2Fcpython.git fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-654) --- diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst index b8c1dcfef2d9..1153ce77ddab 100644 --- a/Doc/library/ftplib.rst +++ b/Doc/library/ftplib.rst @@ -255,9 +255,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.