summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-30 07:03:39 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-30 07:03:39 (GMT)
commitb3b96bd52034731c393b8b364813ec5987fe2309 (patch)
tree054d585513716a87bce285c51a31b4dfbdddf4d3 /Doc
parentcf28b95800ce1480b88975270cc3a3d65dee4664 (diff)
downloadcpython-b3b96bd52034731c393b8b364813ec5987fe2309.zip
cpython-b3b96bd52034731c393b8b364813ec5987fe2309.tar.gz
cpython-b3b96bd52034731c393b8b364813ec5987fe2309.tar.bz2
Clarification.
Diffstat (limited to 'Doc')
-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 e3e546c..f9b6481 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)