diff options
author | Chenwei Xiao <chanvinxiao@163.com> | 2022-07-22 20:11:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-22 20:11:48 (GMT) |
commit | 34d11f1b0c0e1936a37581e0fb0daec637afca47 (patch) | |
tree | 8c4643d22f8de30286aa0cde1ba85343cdc70c61 | |
parent | e402b26b7fb953a2f0c17a0044bb6d6cbd726e54 (diff) | |
download | cpython-34d11f1b0c0e1936a37581e0fb0daec637afca47.zip cpython-34d11f1b0c0e1936a37581e0fb0daec637afca47.tar.gz cpython-34d11f1b0c0e1936a37581e0fb0daec637afca47.tar.bz2 |
Fix copy-friendliness of tutorial example (GH-93424)
-rw-r--r-- | Doc/tutorial/stdlib2.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/tutorial/stdlib2.rst b/Doc/tutorial/stdlib2.rst index abdf5ab..0c101c1 100644 --- a/Doc/tutorial/stdlib2.rst +++ b/Doc/tutorial/stdlib2.rst @@ -108,6 +108,7 @@ placeholders such as the current date, image sequence number, or file format:: >>> photofiles = ['img_1074.jpg', 'img_1076.jpg', 'img_1077.jpg'] >>> class BatchRename(Template): ... delimiter = '%' + ... >>> fmt = input('Enter rename style (%d-date %n-seqnum %f-format): ') Enter rename style (%d-date %n-seqnum %f-format): Ashley_%n%f |