https://github.com/python/cpython/commit/1138fb545f467972ccb1c466b51ddb1e4ebbe891 commit: 1138fb545f467972ccb1c466b51ddb1e4ebbe891 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: erlend-aasland <[email protected]> date: 2024-01-21T17:47:55Z summary:
[3.12] Docs: link to sys.stdout in ftplib docs (GH-114396) (#114397) (cherry picked from commit de17cf444a7b1e06380bb5bf8547f1fc3c03fc4a) Co-authored-by: Erlend E. Aasland <[email protected]> files: M Doc/library/ftplib.rst diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst index c4c5beb7b49525..6ff97008c3015b 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. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
