Skip to content

Commit 3a8098f

Browse files
authored
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-655)
1 parent db522dc commit 3a8098f

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
@@ -248,9 +248,9 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
248248
prints the line to ``sys.stdout``.
249249

250250

251-
.. method:: FTP.set_pasv(boolean)
251+
.. method:: FTP.set_pasv(val)
252252

253-
Enable "passive" mode if *boolean* is true, other disable passive mode.
253+
Enable "passive" mode if *val* is true, otherwise disable passive mode.
254254
Passive mode is on by default.
255255

256256

0 commit comments

Comments
 (0)