From: Michal Kaptur Date: Fri, 2 Feb 2024 10:00:18 +0000 (+0100) Subject: Move "format" param doc of shutil.make_archive() on its own paragraph (GH-103829) X-Git-Tag: v3.13.0a4~201 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53339a0ef72fcfc15221792b117c4670b07a0b20;p=thirdparty%2FPython%2Fcpython.git Move "format" param doc of shutil.make_archive() on its own paragraph (GH-103829) --- diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index d9ec2cbc47e6..7a7dd23177e6 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -586,7 +586,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).