cpython: 5efa1a39ee59 (original) (raw)
Mercurial > cpython
changeset 105092:5efa1a39ee59 3.6
Issue #28678: Merge parameter name from 3.5 into 3.6 [#28678]
Martin Panter vadmium+py@gmail.com | |
---|---|
date | Sun, 13 Nov 2016 23:36:07 +0000 |
parents | 2639afcedaad(current diff)4aca14dbb66d(diff) |
children | 817a003ecdc6 6312f1eca2ff |
files | Doc/whatsnew/3.5.rst |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-)[+] [-] Doc/library/tarfile.rst 4 Doc/whatsnew/3.5.rst 2 |
line wrap: on
line diff
--- a/Doc/library/tarfile.rst
+++ b/Doc/library/tarfile.rst
@@ -388,7 +388,7 @@ be finalized; only the internally used f
dots ".."
.
.. versionchanged:: 3.5
Added the *numeric_only* parameter.[](#l1.7)
Added the *numeric_owner* parameter.[](#l1.8)
.. method:: TarFile.extract(member, path="", set_attrs=True, *, numeric_owner=False) @@ -416,7 +416,7 @@ be finalized; only the internally used f Added the set_attrs parameter. .. versionchanged:: 3.5
Added the *numeric_only* parameter.[](#l1.16)
Added the *numeric_owner* parameter.[](#l1.17)
.. method:: TarFile.extractfile(member)
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -1892,7 +1892,7 @@ to request exclusive creation. (Contrib
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.