[Python-checkins] cpython (merge 3.5 -> 3.6): Issue #28678: Merge parameter name from 3.5 into 3.6
martin.panter
python-checkins at python.org
Sun Nov 13 18:53:21 EST 2016
https://hg.python.org/cpython/rev/5efa1a39ee59
changeset: 105092:5efa1a39ee59
branch: 3.6
parent: 105089:2639afcedaad
parent: 105091:4aca14dbb66d
user: Martin Panter <vadmium+py at gmail.com>
date: Sun Nov 13 23:36:07 2016 +0000
summary:
Issue #28678: Merge parameter name from 3.5 into 3.6
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
@@ -1892,7 +1892,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