summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-07-23 09:33:17 (GMT)
committerGitHub <noreply@github.com>2022-07-23 09:33:17 (GMT)
commita1a1fd0dee22c9d49040503f6506dfc9308657c0 (patch)
tree182d09a858b2b01d4f51a97423e3ad40cc8ba6a2 /Doc/tutorial
parent5d3f2fbf37cd8faa9830490ac244b051d3879990 (diff)
downloadcpython-a1a1fd0dee22c9d49040503f6506dfc9308657c0.zip
cpython-a1a1fd0dee22c9d49040503f6506dfc9308657c0.tar.gz
cpython-a1a1fd0dee22c9d49040503f6506dfc9308657c0.tar.bz2
Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317)
For the continuation lines, "..." should present as secondary prompt (cherry picked from commit de28ee8f755760fda13b481a34b1f326984d293a) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/inputoutput.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst
index 3242382..d341400 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