summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2017-03-13 02:36:54 (GMT)
committerGitHub <noreply@github.com>2017-03-13 02:36:54 (GMT)
commit3a8098f679a7ad6fd890aaabf145b2ffdb376a2a (patch)
tree3abae42d884e2c0399fa2e2249113ee84c32333f /Doc/library
parentdb522dc86294a99f46a63cd5b54c7c4ab8017c96 (diff)
downloadcpython-3a8098f679a7ad6fd890aaabf145b2ffdb376a2a.zip
cpython-3a8098f679a7ad6fd890aaabf145b2ffdb376a2a.tar.gz
cpython-3a8098f679a7ad6fd890aaabf145b2ffdb376a2a.tar.bz2
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-655)
Diffstat (limited to 'Doc/library')
-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 1e35f37..a0cbe93 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.