]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Fix typo in `shutil.make_archive` example (GH-138188)
authorAndreas Pelme <andreas@pelme.se>
Wed, 27 Aug 2025 15:57:37 +0000 (17:57 +0200)
committerGitHub <noreply@github.com>
Wed, 27 Aug 2025 15:57:37 +0000 (11:57 -0400)
Doc/library/shutil.rst

index dde38498206c4677e3cbcd206860d40bb8b71187..692f31c8ca60bdf4b567c0e5c667457438611d1e 100644 (file)
@@ -860,7 +860,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: