Skip to content

Commit 3a33e9b

Browse files
Fix copy-friendliness of tutorial example (pythonGH-93424)
(cherry picked from commit 34d11f1) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
1 parent 5a48ab0 commit 3a33e9b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Doc/tutorial/stdlib2.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ placeholders such as the current date, image sequence number, or file format::
108108
>>> photofiles = ['img_1074.jpg', 'img_1076.jpg', 'img_1077.jpg']
109109
>>> class BatchRename(Template):
110110
... delimiter = '%'
111+
...
111112
>>> fmt = input('Enter rename style (%d-date %n-seqnum %f-format): ')
112113
Enter rename style (%d-date %n-seqnum %f-format): Ashley_%n%f
113114

0 commit comments

Comments
 (0)