diff options
author | Michal Kaptur <kaptur.michal@gmail.com> | 2024-02-02 10:00:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 10:00:18 (GMT) |
commit | 53339a0ef72fcfc15221792b117c4670b07a0b20 (patch) | |
tree | 4368e8e9f40af9a4e694827813e3a0d821ea579b /Doc | |
parent | 1aec0644447e69e981d582449849761b23702ec8 (diff) | |
download | cpython-53339a0ef72fcfc15221792b117c4670b07a0b20.zip cpython-53339a0ef72fcfc15221792b117c4670b07a0b20.tar.gz cpython-53339a0ef72fcfc15221792b117c4670b07a0b20.tar.bz2 |
Move "format" param doc of shutil.make_archive() on its own paragraph (GH-103829)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/shutil.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index d9ec2cb..7a7dd23 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). |