diff --git a/stdlib/tarfile.pyi b/stdlib/tarfile.pyi index 7cfa098bb4f8..9b9936ab8c10 100644 --- a/stdlib/tarfile.pyi +++ b/stdlib/tarfile.pyi @@ -792,7 +792,6 @@ class TarInfo: "_link_target", ) name: str - path: str size: int mtime: int | float chksum: int @@ -823,6 +822,11 @@ class TarInfo: @classmethod def fromtarfile(cls, tarfile: TarFile) -> Self: ... + @property + def path(self) -> str: ... + @path.setter + def path(self, name: str) -> None: ... + @property def linkpath(self) -> str: ... @linkpath.setter diff --git a/stdlib/weakref.pyi b/stdlib/weakref.pyi index 3308ae42e1cf..e81052de7d26 100644 --- a/stdlib/weakref.pyi +++ b/stdlib/weakref.pyi @@ -210,4 +210,8 @@ class finalize(Generic[_P, _T]): def peek(self) -> tuple[_T, Callable[_P, Any], tuple[Any, ...], dict[str, Any]] | None: ... @property def alive(self) -> bool: ... - atexit: bool + + @property + def atexit(self) -> bool: ... + @atexit.setter + def atexit(self, value: bool) -> None: ...