Commit 5a15534f authored by Martin Panter's avatar Martin Panter

Issue #28678: Fix references to numeric_owner parameter

parent d55a0e22
...@@ -388,7 +388,7 @@ be finalized; only the internally used file object will be closed. See the ...@@ -388,7 +388,7 @@ be finalized; only the internally used file object will be closed. See the
dots ``".."``. dots ``".."``.
.. versionchanged:: 3.5 .. versionchanged:: 3.5
Added the *numeric_only* parameter. Added the *numeric_owner* parameter.
.. method:: TarFile.extract(member, path="", set_attrs=True, *, numeric_owner=False) .. 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 ...@@ -416,7 +416,7 @@ be finalized; only the internally used file object will be closed. See the
Added the *set_attrs* parameter. Added the *set_attrs* parameter.
.. versionchanged:: 3.5 .. versionchanged:: 3.5
Added the *numeric_only* parameter. Added the *numeric_owner* parameter.
.. method:: TarFile.extractfile(member) .. method:: TarFile.extractfile(member)
......
...@@ -1891,7 +1891,7 @@ to request exclusive creation. (Contributed by Berker Peksag in :issue:`21717`. ...@@ -1891,7 +1891,7 @@ to request exclusive creation. (Contributed by Berker Peksag in :issue:`21717`.
The :meth:`TarFile.extractall() <tarfile.TarFile.extractall>` and The :meth:`TarFile.extractall() <tarfile.TarFile.extractall>` and
:meth:`TarFile.extract() <tarfile.TarFile.extract>` methods now take a keyword :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. 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), 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. they will be owned by the named user and group in the tarfile.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment