mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-14 18:27:51 +08:00
importlib.abc: Traversable takes a path (#5214)
This commit is contained in:
1 parent
f89cff3bf8
commit
ce1871a5bb
1 file changed
+2
-2
@@ -88,9 +88,9 @@ if sys.version_info >= (3, 9):
|
||||
@abstractmethod
|
||||
def is_file(self) -> bool: ...
|
||||
@abstractmethod
|
||||
def joinpath(self, child: Traversable) -> Traversable: ...
|
||||
def joinpath(self, child: _Path) -> Traversable: ...
|
||||
@abstractmethod
|
||||
def __truediv__(self, child: Traversable) -> Traversable: ...
|
||||
def __truediv__(self, child: _Path) -> Traversable: ...
|
||||
@abstractmethod
|
||||
def open(self, mode: Literal["r", "rb"] = ..., *args: Any, **kwargs: Any) -> IO[Any]: ...
|
||||
@property
|
||||
|
||||
Reference in new issue
Block a user