From 1eb791ce4f69cd23153a9fa428b0c4c9ef227a89 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:28:15 +0100 Subject: [3.11] Move "format" param doc of shutil.make_archive() on its own paragraph (GH-103829) (GH-114898) (cherry picked from commit 53339a0ef72fcfc15221792b117c4670b07a0b20) Co-authored-by: Michal Kaptur --- Doc/library/shutil.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index a64dfc8..dd656f6 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -548,7 +548,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). -- cgit v0.12