[Python-checkins] cpython (3.5): Issue #28678: Fix references to numeric_owner parameter

martin.panter python-checkins at python.org
Sun Nov 13 18:53:21 EST 2016


https://hg.python.org/cpython/rev/4aca14dbb66d
changeset: 105091:4aca14dbb66d
branch: 3.5
parent: 105083:d82f43d8927a
user: Martin Panter <vadmium+py at gmail.com>
date: Sun Nov 13 23:25:06 2016 +0000
summary:
 Issue #28678: Fix references to numeric_owner parameter
files:
 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
--- a/Doc/library/tarfile.rst
+++ b/Doc/library/tarfile.rst
@@ -388,7 +388,7 @@
 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 @@
 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
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -1891,7 +1891,7 @@
 
 The :meth:`TarFile.extractall() <tarfile.TarFile.extractall>` and
 :meth:`TarFile.extract() <tarfile.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.
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /