]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Clarification.
authorGeorg Brandl <georg@python.org>
Fri, 30 Jul 2010 07:03:39 +0000 (07:03 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 30 Jul 2010 07:03:39 +0000 (07:03 +0000)
Doc/library/ftplib.rst

index e3e546c65dad36b46c8c60708920a67f79a2ae3f..f9b648164b9ae117f3a1e6ef7a5b9df379911c65 100644 (file)
@@ -231,9 +231,9 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
    Retrieve a file or directory listing in ASCII transfer mode.  *cmd*
    should be an appropriate ``RETR`` command (see :meth:`retrbinary`) or a
    command such as ``LIST``, ``NLST`` or ``MLSD`` (usually just the string
-   ``'LIST'``).  The *callback* function is called for each line, with the
-   trailing CRLF stripped.  The default *callback* prints the line to
-   ``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``.
 
 
 .. method:: FTP.set_pasv(boolean)