summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2017-03-13 02:19:00 (GMT)
committerXiang Zhang <angwerzx@126.com>2017-03-13 02:19:00 (GMT)
commit7bb6ac76b27efc7260b17b03362f60a4106a4805 (patch)
tree4f321276e4b6f4813e219ad53983a93e4518d249 /Doc
parentb2d77175d1317494b4238b4e07426d310fbf1d19 (diff)
downloadcpython-7bb6ac76b27efc7260b17b03362f60a4106a4805.zip
cpython-7bb6ac76b27efc7260b17b03362f60a4106a4805.tar.gz
cpython-7bb6ac76b27efc7260b17b03362f60a4106a4805.tar.bz2
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ftplib.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst
index b8c1dcf..1153ce7 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.