https://github.com/python/cpython/commit/0aa9f434ad878bbbdf50e66ad484bae1a2085e92
commit: 0aa9f434ad878bbbdf50e66ad484bae1a2085e92
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2026-06-02T19:20:49Z
summary:

[3.15] Fix description of the function parameter of 
shutil.register_archive_format() (GH-145087) (GH-150804)

(cherry picked from commit 18c6d3ccc32232a28a5288708818ef9c4fecba1a)

Co-authored-by: Brian Schubert <[email protected]>

files:
M Doc/library/shutil.rst

diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index e0300a38e2f357..6a734966d1e0a4 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -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*,

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to