mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 16:14:24 +08:00
@@ -265,7 +265,7 @@ if sys.version_info >= (3, 6):
|
||||
_FdOrAnyPath = Union[int, AnyPath]
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
class DirEntry(PathLike[AnyStr]):
|
||||
class DirEntry(Generic[AnyStr]):
|
||||
# This is what the scandir interator yields
|
||||
# The constructor is hidden
|
||||
|
||||
|
||||
Reference in New Issue
Block a user