mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Update os.DirEntry to 3.12 (#10643)
This commit is contained in:
@@ -388,6 +388,8 @@ class DirEntry(Generic[AnyStr]):
|
||||
def __fspath__(self) -> AnyStr: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
def __class_getitem__(cls, item: Any) -> GenericAlias: ...
|
||||
if sys.version_info >= (3, 12):
|
||||
def is_junction(self) -> bool: ...
|
||||
|
||||
@final
|
||||
class statvfs_result(structseq[int], tuple[int, int, int, int, int, int, int, int, int, int, int]):
|
||||
|
||||
Reference in New Issue
Block a user