diff options
author | Fred Drake <fdrake@acm.org> | 1999-07-07 13:36:22 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-07-07 13:36:22 (GMT) |
commit | 1508970a4796e76e01f8ae0f0c1aa79caf495360 (patch) | |
tree | fb778ae02aa00f68d6a1f7004c818bf693054726 | |
parent | 17a8b5d473f8adc6f16046754402bcf6ce4bce20 (diff) | |
download | cpython-1508970a4796e76e01f8ae0f0c1aa79caf495360.zip cpython-1508970a4796e76e01f8ae0f0c1aa79caf495360.tar.gz cpython-1508970a4796e76e01f8ae0f0c1aa79caf495360.tar.bz2 |
dir() method description revised based on comments from Greg Stein.
-rw-r--r-- | Doc/lib/libftplib.tex | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/lib/libftplib.tex b/Doc/lib/libftplib.tex index 4a5f98c..becc99b 100644 --- a/Doc/lib/libftplib.tex +++ b/Doc/lib/libftplib.tex @@ -208,12 +208,13 @@ non-standard options to the \samp{NLST} command. \end{methoddesc} \begin{methoddesc}{dir}{argument\optional{, \ldots}} -Return a directory listing as returned by the \samp{LIST} command, as -a list of lines. The optional \var{argument} is a directory to list -(default is the current server directory). Multiple arguments can be -used to pass non-standard options to the \samp{LIST} command. If the -last argument is a function, it is used as a \var{callback} function -as for \method{retrlines()}. +Produce a directory listing as returned by the \samp{LIST} command, +printing it to standard output. The optional \var{argument} is a +directory to list (default is the current server directory). Multiple +arguments can be used to pass non-standard options to the \samp{LIST} +command. If the last argument is a function, it is used as a +\var{callback} function as for \method{retrlines()}; the default +prints to \code{sys.stdout}. This method returns \code{None}. \end{methoddesc} \begin{methoddesc}{rename}{fromname, toname} |