8000 Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317) … · python/cpython@e71e6e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit e71e6e2

Browse files
Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317) (#95159)
For the continuation lines, "..." should present as secondary prompt (cherry picked from commit de28ee8) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com> Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
1 parent 9f4d0e8 commit e71e6e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/inputoutput.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ are referred to by using the name of the argument. ::
166166
Positional and keyword arguments can be arbitrarily combined::
167167

168168
>>> print('The story of {0}, {1}, and {other}.'.format('Bill', 'Manfred',
169-
other='Georg'))
169+
... other='Georg'))
170170
The story of Bill, Manfred, and Georg.
171171

172172
If you have a really long format string that you don't want to split up, it

0 commit comments

Comments
 (0)
0