mirror of
https://github.com/python/cpython.git
synced 2025-09-13 12:17:24 +00:00
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653)
This commit is contained in:
parent
b2d77175d1
commit
7bb6ac76b2
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue