diff options
author | Xiang Zhang <angwerzx@126.com> | 2017-03-13 02:36:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-13 02:36:34 (GMT) |
commit | 7927abba3449e12d0ae3518b722fdfeb383b4039 (patch) | |
tree | 2ce525e9dd4434b96a83ad1d6f0f3337352433c0 /Doc/library | |
parent | 99f8d33a94c8951fd6b2d5f079d20be698150993 (diff) | |
download | cpython-7927abba3449e12d0ae3518b722fdfeb383b4039.zip cpython-7927abba3449e12d0ae3518b722fdfeb383b4039.tar.gz cpython-7927abba3449e12d0ae3518b722fdfeb383b4039.tar.bz2 |
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-654)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/ftplib.rst | 4 |
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. |