]> granicus.if.org Git - python/commitdiff
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-655)
authorXiang Zhang <angwerzx@126.com>
Mon, 13 Mar 2017 02:36:54 +0000 (10:36 +0800)
committerGitHub <noreply@github.com>
Mon, 13 Mar 2017 02:36:54 +0000 (10:36 +0800)
Doc/library/ftplib.rst

index 1e35f37f448bcdab642ef3d5a26bf0a2c4ae66ab..a0cbe93e3a75c450faecfc74f3c82641da6f0a05 100644 (file)
@@ -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.