Skip to content

Commit 7927abb

Browse files
authored
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-654)
1 parent 99f8d33 commit 7927abb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/ftplib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,9 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
255255
prints the line to ``sys.stdout``.
256256

257257

258-
.. method:: FTP.set_pasv(boolean)
258+
.. method:: FTP.set_pasv(val)
259259

260-
Enable "passive" mode if *boolean* is true, other disable passive mode.
260+
Enable "passive" mode if *val* is true, otherwise disable passive mode.
261261
Passive mode is on by default.
262262

263263

0 commit comments

Comments
 (0)