mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-13 02:10:39 +08:00
Add __all__ to most modules beginning with 'n', 'o' and 'p' (#7345)
This commit is contained in:
@@ -17,6 +17,8 @@ from typing_extensions import Literal
|
||||
if sys.version_info >= (3, 9):
|
||||
from types import GenericAlias
|
||||
|
||||
__all__ = ["PurePath", "PurePosixPath", "PureWindowsPath", "Path", "PosixPath", "WindowsPath"]
|
||||
|
||||
class PurePath(PathLike[str]):
|
||||
parts: tuple[str, ...]
|
||||
drive: str
|
||||
|
||||
Reference in New Issue
Block a user