diff --git a/stdlib/tarfile.pyi b/stdlib/tarfile.pyi index 7258ced82..9101a1988 100644 --- a/stdlib/tarfile.pyi +++ b/stdlib/tarfile.pyi @@ -264,6 +264,9 @@ class TarFile: def extract( self, member: Union[str, TarInfo], path: StrOrBytesPath = ..., set_attrs: bool = ..., *, numeric_owner: bool = ... ) -> None: ... + def _extract_member( + self, tarinfo: TarInfo, targetpath: str, set_attrs: bool = ..., numeric_owner: bool = ... + ) -> None: ... # undocumented def extractfile(self, member: Union[str, TarInfo]) -> Optional[IO[bytes]]: ... def makedir(self, tarinfo: TarInfo, targetpath: StrOrBytesPath) -> None: ... # undocumented def makefile(self, tarinfo: TarInfo, targetpath: StrOrBytesPath) -> None: ... # undocumented