Skip to content

Commit 8cb7e5c

Browse files
[3.12] Move "format" param doc of shutil.make_archive() on its own paragraph (GH-103829) (GH-114897)
(cherry picked from commit 53339a0) Co-authored-by: Michal Kaptur <[email protected]>
1 parent cc5870a commit 8cb7e5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/library/shutil.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,9 @@ provided. They rely on the :mod:`zipfile` and :mod:`tarfile` modules.
580580
Create an archive file (such as zip or tar) and return its name.
581581

582582
*base_name* is the name of the file to create, including the path, minus
583-
any format-specific extension. *format* is the archive format: one of
583+
any format-specific extension.
584+
585+
*format* is the archive format: one of
584586
"zip" (if the :mod:`zlib` module is available), "tar", "gztar" (if the
585587
:mod:`zlib` module is available), "bztar" (if the :mod:`bz2` module is
586588
available), or "xztar" (if the :mod:`lzma` module is available).

0 commit comments

Comments
 (0)