From: Chenwei Xiao Date: Sat, 23 Jul 2022 09:25:42 +0000 (+0800) Subject: Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317) X-Git-Tag: v3.12.0a1~876 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de28ee8f755760fda13b481a34b1f326984d293a;p=thirdparty%2FPython%2Fcpython.git Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317) For the continuation lines, "..." should present as secondary prompt --- diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst index 324238228d62..d3414005a534 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