[Python-checkins] Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317)

Fidget-Spinner webhook-mailer at python.org
Sat Jul 23 05:25:49 EDT 2022


https://github.com/python/cpython/commit/de28ee8f755760fda13b481a34b1f326984d293a
commit: de28ee8f755760fda13b481a34b1f326984d293a
branch: main
author: Chenwei Xiao <chanvinxiao at 163.com>
committer: Fidget-Spinner <28750310+Fidget-Spinner at users.noreply.github.com>
date: 2022-07-23T17:25:42+08:00
summary:

Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317)

For the continuation lines, "..." should present as secondary prompt

files:
M Doc/tutorial/inputoutput.rst

diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst
index 324238228d626..d3414005a5343 100644
--- a/Doc/tutorial/inputoutput.rst
+++ b/Doc/tutorial/inputoutput.rst
@@ -166,7 +166,7 @@ are referred to by using the name of the argument. ::
 Positional and keyword arguments can be arbitrarily combined::
 
    >>> print('The story of {0}, {1}, and {other}.'.format('Bill', 'Manfred',
-                                                          other='Georg'))
+   ...                                                    other='Georg'))
    The story of Bill, Manfred, and Georg.
 
 If you have a really long format string that you don't want to split up, it



More information about the Python-checkins mailing list