From efbf20f3a3301056f81eaa4e9da0d90f2b24e296 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sun, 13 Nov 2016 23:25:06 +0000 Subject: [PATCH] Issue #28678: Fix references to numeric_owner parameter --- Doc/library/tarfile.rst | 4 ++-- Doc/whatsnew/3.5.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index be3a594997c..d8f809753df 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -388,7 +388,7 @@ be finalized; only the internally used file object will be closed. See the dots ``".."``. .. versionchanged:: 3.5 - Added the *numeric_only* parameter. + Added the *numeric_owner* parameter. .. method:: TarFile.extract(member, path="", set_attrs=True, *, numeric_owner=False) @@ -416,7 +416,7 @@ be finalized; only the internally used file object will be closed. See the Added the *set_attrs* parameter. .. versionchanged:: 3.5 - Added the *numeric_only* parameter. + Added the *numeric_owner* parameter. .. method:: TarFile.extractfile(member) diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 2ef4e915b6d..ec2bc5b799f 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -1891,7 +1891,7 @@ to request exclusive creation. (Contributed by Berker Peksag in :issue:`21717`. The :meth:`TarFile.extractall() ` and :meth:`TarFile.extract() ` methods now take a keyword -argument *numeric_only*. If set to ``True``, the extracted files and +argument *numeric_owner*. If set to ``True``, the extracted files and directories will be owned by the numeric ``uid`` and ``gid`` from the tarfile. If set to ``False`` (the default, and the behavior in versions prior to 3.5), they will be owned by the named user and group in the tarfile.