mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
Clarification.
This commit is contained in:
parent
cf28b95800
commit
b3b96bd520
1 changed files with 3 additions and 3 deletions
|
|
@ -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*
|
Retrieve a file or directory listing in ASCII transfer mode. *cmd*
|
||||||
should be an appropriate ``RETR`` command (see :meth:`retrbinary`) or a
|
should be an appropriate ``RETR`` command (see :meth:`retrbinary`) or a
|
||||||
command such as ``LIST``, ``NLST`` or ``MLSD`` (usually just the string
|
command such as ``LIST``, ``NLST`` or ``MLSD`` (usually just the string
|
||||||
``'LIST'``). The *callback* function is called for each line, with the
|
``'LIST'``). The *callback* function is called for each line with a
|
||||||
trailing CRLF stripped. The default *callback* prints the line to
|
string argument containing the line with the trailing CRLF stripped.
|
||||||
``sys.stdout``.
|
The default *callback* prints the line to ``sys.stdout``.
|
||||||
|
|
||||||
|
|
||||||
.. method:: FTP.set_pasv(boolean)
|
.. method:: FTP.set_pasv(boolean)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue