mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 10:03:32 +08:00
Mark pos-only __class_getitem__ args (#11970)
This commit is contained in:
@@ -437,7 +437,7 @@ class DirEntry(Generic[AnyStr]):
|
||||
def stat(self, *, follow_symlinks: bool = True) -> stat_result: ...
|
||||
def __fspath__(self) -> AnyStr: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
def __class_getitem__(cls, item: Any) -> GenericAlias: ...
|
||||
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
|
||||
if sys.version_info >= (3, 12):
|
||||
def is_junction(self) -> bool: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user