fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-655)

This commit is contained in:
Xiang Zhang 2017-03-13 10:36:54 +08:00 committed by GitHub
parent db522dc862
commit 3a8098f679

View file

@ -248,9 +248,9 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
prints the line to ``sys.stdout``. 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. Passive mode is on by default.