We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf28b95 commit b3b96bdCopy full SHA for b3b96bd
Doc/library/ftplib.rst
@@ -231,9 +231,9 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
231
Retrieve a file or directory listing in ASCII transfer mode. *cmd*
232
should be an appropriate ``RETR`` command (see :meth:`retrbinary`) or a
233
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``.
+ ``'LIST'``). The *callback* function is called for each line with a
+ string argument containing the line with the trailing CRLF stripped.
+ The default *callback* prints the line to ``sys.stdout``.
237
238
239
.. method:: FTP.set_pasv(boolean)
0 commit comments