]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Docs: Fix typo in `shutil.make_archive` example (GH-138188) (GH-138196)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 Aug 2025 16:03:28 +0000 (18:03 +0200)
committerGitHub <noreply@github.com>
Wed, 27 Aug 2025 16:03:28 +0000 (16:03 +0000)
Docs: Fix typo in `shutil.make_archive` example (GH-138188)
(cherry picked from commit f733e428f8d19cb211f24ca7fb8abf65e1f2efed)

Co-authored-by: Andreas Pelme <andreas@pelme.se>
Doc/library/shutil.rst

index 221b257e0925c2043e8ec0c70910370f85771a9f..bcc558390d1abe7ba98a086332544b07f1eab489 100644 (file)
@@ -835,7 +835,7 @@ In the final archive, :file:`please_add.txt` should be included, but
     ...     root_dir='tmp/root',
     ...     base_dir='structure/content',
     ... )
-    '/Users/tarek/my_archive.tar'
+    '/Users/tarek/myarchive.tar'
 
 Listing the files in the resulting archive gives us: