From: Brian Schubert Date: Tue, 2 Jun 2026 19:12:36 +0000 (-0400) Subject: Fix description of the function parameter of shutil.register_archive_format() (GH... X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=18c6d3ccc32232a28a5288708818ef9c4fecba1a;p=thirdparty%2FPython%2Fcpython.git Fix description of the function parameter of shutil.register_archive_format() (GH-145087) --- diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 177c45e4f820..6febc7a187a1 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -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*,