mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
[3.12] Move "format" param doc of shutil.make_archive() on its own paragraph (GH-103829) (GH-114897)
(cherry picked from commit 53339a0ef7
)
Co-authored-by: Michal Kaptur <kaptur.michal@gmail.com>
This commit is contained in:
parent
cc5870a1d7
commit
8cb7e5cc7c
1 changed files with 3 additions and 1 deletions
|
@ -580,7 +580,9 @@ provided. They rely on the :mod:`zipfile` and :mod:`tarfile` modules.
|
|||
Create an archive file (such as zip or tar) and return its name.
|
||||
|
||||
*base_name* is the name of the file to create, including the path, minus
|
||||
any format-specific extension. *format* is the archive format: one of
|
||||
any format-specific extension.
|
||||
|
||||
*format* is the archive format: one of
|
||||
"zip" (if the :mod:`zlib` module is available), "tar", "gztar" (if the
|
||||
:mod:`zlib` module is available), "bztar" (if the :mod:`bz2` module is
|
||||
available), or "xztar" (if the :mod:`lzma` module is available).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue