Skip to content

Commit 0aa9f43

Browse files
[3.15] Fix description of the function parameter of shutil.register_archive_format() (GH-145087) (GH-150804)
(cherry picked from commit 18c6d3c) Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
1 parent 49c92ac commit 0aa9f43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/shutil.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ provided. They rely on the :mod:`zipfile` and :mod:`tarfile` modules.
696696

697697
Register an archiver for the format *name*.
698698

699-
*function* is the callable that will be used to unpack archives. The callable
699+
*function* is the callable that will be used to create archives. The callable
700700
will receive the *base_name* of the file to create, followed by the
701701
*base_dir* (which defaults to :data:`os.curdir`) to start archiving from.
702702
Further arguments are passed as keyword arguments: *owner*, *group*,

0 commit comments

Comments
 (0)