summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorGiampaolo Rodola' <g.rodola@gmail.com>2011-05-07 16:06:59 +0200
committerGiampaolo Rodola' <g.rodola@gmail.com>2011-05-07 16:06:59 +0200
commitc3c9f8b5a722dbf4945742371582b866759d197f (patch)
tree4978ccfcc5afda6aafc3e5d2b9ad3c10657350df /Doc
parent87a893ace643f980ee0ae6df362cefdd021dea7a (diff)
downloadcpython-c3c9f8b5a722dbf4945742371582b866759d197f.tar.gz
#11072- applying http://bugs.python.org/review/11072/show suggestions
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ftplib.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst
index 2696549247..f4205f4a9e 100644
--- a/Doc/library/ftplib.rst
+++ b/Doc/library/ftplib.rst
@@ -322,13 +322,13 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
.. method:: FTP.mlsd(path="", facts=[])
List a directory in a standardized format by using MLSD command
- (:rfc:`3659`). If *path* is omitted the current directory is assumed.
+ (:rfc:`3659`). If *path* is omitted the current directory is assumed.
*facts* is a list of strings representing the type of information desired
- (e.g. *["type", "size", "perm"]*). Return a generator object yielding a
- tuple of two elements for every file found in path. First element is the
- file name, the second one is a dictionary including a variable number of
- "facts" depending on the server and whether *facts* argument has been
- provided.
+ (e.g. ``["type", "size", "perm"]``). Return a generator object yielding a
+ tuple of two elements for every file found in path. First element is the
+ file name, the second one is a dictionary containing facts about the file
+ name. Content of this dictionary might be limited by the *facts* argument
+ but server is not guaranteed to return all requested facts.
.. versionadded:: 3.3
@@ -340,7 +340,7 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
directory). Multiple arguments can be used to pass non-standard options to
the ``NLST`` command.
- .. deprecated:: 3.3 use :meth:`mlsd` instead
+ .. deprecated:: 3.3 use :meth:`mlsd` instead.
.. method:: FTP.dir(argument[, ...])
@@ -352,7 +352,7 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
as a *callback* function as for :meth:`retrlines`; the default prints to
``sys.stdout``. This method returns ``None``.
- .. deprecated:: 3.3 use :meth:`mlsd` instead
+ .. deprecated:: 3.3 use :meth:`mlsd` instead.
.. method:: FTP.rename(fromname, toname)