Skip to content

Commit e57d1a0

Browse files
[3.14] Fix description of the function parameter of shutil.register_archive_format() (GH-145087) (GH-150805)
(cherry picked from commit 18c6d3c) Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
1 parent 11e5872 commit e57d1a0

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
@@ -692,7 +692,7 @@ provided. They rely on the :mod:`zipfile` and :mod:`tarfile` modules.
692692

693693
Register an archiver for the format *name*.
694694

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

0 commit comments

Comments
 (0)