Skip to content

Commit b3b96bd

Browse files
committed
Clarification.
1 parent cf28b95 commit b3b96bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/ftplib.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
231231
Retrieve a file or directory listing in ASCII transfer mode. *cmd*
232232
should be an appropriate ``RETR`` command (see :meth:`retrbinary`) or a
233233
command such as ``LIST``, ``NLST`` or ``MLSD`` (usually just the string
234-
``'LIST'``). The *callback* function is called for each line, with the
235-
trailing CRLF stripped. The default *callback* prints the line to
236-
``sys.stdout``.
234+
``'LIST'``). The *callback* function is called for each line with a
235+
string argument containing the line with the trailing CRLF stripped.
236+
The default *callback* prints the line to ``sys.stdout``.
237237

238238

239239
.. method:: FTP.set_pasv(boolean)

0 commit comments

Comments
 (0)