Skip to content
Closed
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
3 changes: 2 additions & 1 deletion py/path.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ from typing import Any, AnyStr, Callable, ContextManager, Generic, IO, Iterable,
from typing_extensions import Final, Literal
import os
import sys
from types import ModuleType

class _FNMatcher(Generic[AnyStr]):
pattern: AnyStr = ...
Expand Down Expand Up @@ -161,7 +162,7 @@ class local(_PathLike[str]):
self,
modname: Optional[str] = ...,
ensuresyspath: Union[bool, Literal["append", "importlib"]] = ...,
) -> Any: ...
) -> ModuleType: ...
def pypkgpath(self) -> Optional[local]: ...
def read(self, mode: str = ...) -> Union[Text, bytes]: ...
def read_binary(self) -> bytes: ...
Expand Down