https://github.com/python/cpython/commit/8cb7e5cc7c495a873964dc7ba1ac9662654ded75 commit: 8cb7e5cc7c495a873964dc7ba1ac9662654ded75 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka <[email protected]> date: 2024-02-02T12:28:32+02:00 summary:
[3.12] Move "format" param doc of shutil.make_archive() on its own paragraph (GH-103829) (GH-114897) (cherry picked from commit 53339a0ef72fcfc15221792b117c4670b07a0b20) Co-authored-by: Michal Kaptur <[email protected]> files: M Doc/library/shutil.rst diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index b49cdd3a5b18b0..7e32a1f583e597 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -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). _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
