summaryrefslogtreecommitdiff
path: root/Doc/library/ftplib.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-30 07:03:39 +0000
committerGeorg Brandl <georg@python.org>2010-07-30 07:03:39 +0000
commit9b00af7fb811c77b2277901a563d4d4a2c04870d (patch)
treeedd6e206703364e89e6877339086540e29289e30 /Doc/library/ftplib.rst
parent18e787cd22cc326e5945c4a829126745d68750c3 (diff)
downloadcpython-9b00af7fb811c77b2277901a563d4d4a2c04870d.tar.gz
Clarification.
Diffstat (limited to 'Doc/library/ftplib.rst')
-rw-r--r--Doc/library/ftplib.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst
index e3e546c65d..f9b648164b 100644
--- a/Doc/library/ftplib.rst
+++ b/Doc/library/ftplib.rst
@@ -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)