]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] Fix description of the function parameter of shutil.register_archive_format...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 2 Jun 2026 19:20:49 +0000 (21:20 +0200)
committerGitHub <noreply@github.com>
Tue, 2 Jun 2026 19:20:49 +0000 (19:20 +0000)
(cherry picked from commit 18c6d3ccc32232a28a5288708818ef9c4fecba1a)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Doc/library/shutil.rst

index e0300a38e2f357db72a3e8dbacd83cc7e584a703..6a734966d1e0a45a58ab4172a063c872f02dc3b1 100644 (file)
@@ -696,7 +696,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*,