Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit efbf20f

Browse files
committed
Issue #28678: Fix references to numeric_owner parameter
1 parent 547c1b9 commit efbf20f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/tarfile.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ be finalized; only the internally used file object will be closed. See the
388388
dots ``".."``.
389389

390390
.. versionchanged:: 3.5
391-
Added the *numeric_only* parameter.
391+
Added the *numeric_owner* parameter.
392392

393393

394394
.. 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
416416
Added the *set_attrs* parameter.
417417

418418
.. versionchanged:: 3.5
419-
Added the *numeric_only* parameter.
419+
Added the *numeric_owner* parameter.
420420

421421
.. method:: TarFile.extractfile(member)
422422

Doc/whatsnew/3.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,7 @@ to request exclusive creation. (Contributed by Berker Peksag in :issue:`21717`.
18911891

18921892
The :meth:`TarFile.extractall() <tarfile.TarFile.extractall>` and
18931893
:meth:`TarFile.extract() <tarfile.TarFile.extract>` methods now take a keyword
1894-
argument *numeric_only*. If set to ``True``, the extracted files and
1894+
argument *numeric_owner*. If set to ``True``, the extracted files and
18951895
directories will be owned by the numeric ``uid`` and ``gid`` from the tarfile.
18961896
If set to ``False`` (the default, and the behavior in versions prior to 3.5),
18971897
they will be owned by the named user and group in the tarfile.

0 commit comments

Comments
 (0)