]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Move "format" param doc of shutil.make_archive() on its own paragraph (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 2 Feb 2024 10:28:32 +0000 (11:28 +0100)
committerGitHub <noreply@github.com>
Fri, 2 Feb 2024 10:28:32 +0000 (12:28 +0200)
(cherry picked from commit 53339a0ef72fcfc15221792b117c4670b07a0b20)

Co-authored-by: Michal Kaptur <kaptur.michal@gmail.com>
Doc/library/shutil.rst

index b49cdd3a5b18b042564839d1290708a7717aaecf..7e32a1f583e59750cd3117bc8d30c597d1009434 100644 (file)
@@ -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).