summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-11-13 23:36:30 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-11-13 23:36:30 (GMT)
commitbb0f8e6bbab1e7bac9b1825b4c15a788e3bd9a27 (patch)
tree59d9ac48d2577c9cbe5b5063486ce3d1c739274e /Doc
parentf59d568e473326e27ea2451445d027674a5b6e26 (diff)
parentf8c25e3424818b12f8029a8122672037098ee8a4 (diff)
downloadcpython-bb0f8e6bbab1e7bac9b1825b4c15a788e3bd9a27.zip
cpython-bb0f8e6bbab1e7bac9b1825b4c15a788e3bd9a27.tar.gz
cpython-bb0f8e6bbab1e7bac9b1825b4c15a788e3bd9a27.tar.bz2
Issue #28678: Merge parameter name from 3.6
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/tarfile.rst4
-rw-r--r--Doc/whatsnew/3.5.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst
index be3a594..d8f8097 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 246d9c5..9b221d5 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -1892,7 +1892,7 @@ to request exclusive creation. (Contributed by Berker Peksag in :issue:`21717`.
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.