Skip to content

Commit

Permalink
Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317)
Browse files Browse the repository at this point in the history
For the continuation lines, "..." should present as secondary prompt
  • Loading branch information
vinzid authored Jul 23, 2022
1 parent a3d4d15 commit de28ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/tutorial/inputoutput.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de28ee8

Please sign in to comment.