mirror of https://github.com/python/cpython
Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317)
For the continuation lines, "..." should present as secondary prompt
This commit is contained in:
parent
a3d4d15f53
commit
de28ee8f75
|
@ -166,7 +166,7 @@ are referred to by using the name of the argument. ::
|
||||||
Positional and keyword arguments can be arbitrarily combined::
|
Positional and keyword arguments can be arbitrarily combined::
|
||||||
|
|
||||||
>>> print('The story of {0}, {1}, and {other}.'.format('Bill', 'Manfred',
|
>>> print('The story of {0}, {1}, and {other}.'.format('Bill', 'Manfred',
|
||||||
other='Georg'))
|
... other='Georg'))
|
||||||
The story of Bill, Manfred, and 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
|
If you have a really long format string that you don't want to split up, it
|
||||||
|
|
Loading…
Reference in New Issue