Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion stdlib/tarfile.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,6 @@ class TarInfo:
"_link_target",
)
name: str
path: str
size: int
mtime: int | float
chksum: int
Expand Down Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion stdlib/weakref.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...