From fe422afb40029b3c388046fb9826faa0a5851bc9 Mon Sep 17 00:00:00 2001 From: Mukund-Tandon Date: Wed, 2 Nov 2022 12:35:01 +0530 Subject: [PATCH 1/2] Fixed Issue 98996 by correcting the formating in the documentation --- Doc/library/shutil.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index b33dbe21b1fa19..94bee12450c23c 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -542,10 +542,11 @@ 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 - "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). + 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). *root_dir* is a directory that will be the root directory of the archive, all paths in the archive will be relative to it; for example, From 4a204eb8c315ee7b19a18c568809b843d597c43a Mon Sep 17 00:00:00 2001 From: Mukund-Tandon Date: Wed, 2 Nov 2022 14:42:52 +0530 Subject: [PATCH 2/2] Removed trailing white spaces --- Doc/library/shutil.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 94bee12450c23c..f2e8af56116a2e 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -544,8 +544,8 @@ provided. They rely on the :mod:`zipfile` and :mod:`tarfile` modules. *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 "zip" (if the :mod:`zlib` module - is available), "tar", "gztar" (if the :mod:`zlib` module is available), + *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). *root_dir* is a directory that will be the root directory of the