summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/inputoutput.rst
diff options
context:
space:
mode:
authorChenwei Xiao <chanvinxiao@163.com>2022-07-23 09:25:42 (GMT)
committerGitHub <noreply@github.com>2022-07-23 09:25:42 (GMT)
commitde28ee8f755760fda13b481a34b1f326984d293a (patch)
tree3de6923e70220e13929d53ed6c49b68415484c16 /Doc/tutorial/inputoutput.rst
parenta3d4d15f53777662ce0957500e5a538ce7161f5e (diff)
downloadcpython-de28ee8f755760fda13b481a34b1f326984d293a.zip
cpython-de28ee8f755760fda13b481a34b1f326984d293a.tar.gz
cpython-de28ee8f755760fda13b481a34b1f326984d293a.tar.bz2
Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317)
For the continuation lines, "..." should present as secondary prompt
Diffstat (limited to 'Doc/tutorial/inputoutput.rst')
-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