]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix description of the function parameter of shutil.register_archive_format() (GH...
authorBrian Schubert <brianm.schubert@gmail.com>
Tue, 2 Jun 2026 19:12:36 +0000 (15:12 -0400)
committerGitHub <noreply@github.com>
Tue, 2 Jun 2026 19:12:36 +0000 (22:12 +0300)
Doc/library/shutil.rst

index 177c45e4f820f6e8ae51c13ad1b54433301b9b51..6febc7a187a15f841fe4ac45a2e24d679b6f1d6e 100644 (file)
@@ -700,7 +700,7 @@ provided.  They rely on the :mod:`zipfile` and :mod:`tarfile` modules.
 
    Register an archiver for the format *name*.
 
-   *function* is the callable that will be used to unpack archives. The callable
+   *function* is the callable that will be used to create archives. The callable
    will receive the *base_name* of the file to create, followed by the
    *base_dir* (which defaults to :data:`os.curdir`) to start archiving from.
    Further arguments are passed as keyword arguments: *owner*, *group*,