diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-01-21 17:47:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-21 17:47:48 (GMT) |
commit | a4587c1846226f8a74d9d4951864a0b1ab265f97 (patch) | |
tree | acd88f22c14268dc1c4882a3faa5b731cc6d387f | |
parent | 3bd4c3a86cc4739f57ea5d6d580b536a0b87fb3f (diff) | |
download | cpython-a4587c1846226f8a74d9d4951864a0b1ab265f97.zip cpython-a4587c1846226f8a74d9d4951864a0b1ab265f97.tar.gz cpython-a4587c1846226f8a74d9d4951864a0b1ab265f97.tar.bz2 |
[3.11] Docs: link to sys.stdout in ftplib docs (GH-114396) (#114398)
(cherry picked from commit de17cf444a7b1e06380bb5bf8547f1fc3c03fc4a)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
-rw-r--r-- | Doc/library/ftplib.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst index 07100d4..93481c1 100644 --- a/Doc/library/ftplib.rst +++ b/Doc/library/ftplib.rst @@ -221,7 +221,7 @@ FTP objects ``NLST`` retrieves a list of file names. 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``. + prints the line to :data:`sys.stdout`. .. method:: FTP.set_pasv(val) @@ -311,7 +311,7 @@ FTP objects current server directory). Multiple arguments can be used to pass non-standard options to the ``LIST`` command. If the last argument is a function, it is used as a *callback* function as for :meth:`retrlines`; the default prints to - ``sys.stdout``. This method returns ``None``. + :data:`sys.stdout`. This method returns ``None``. .. note:: If your server supports the command, :meth:`mlsd` offers a better API. |