mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Update ModuleType to have __path__ (#6200)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -14,6 +14,7 @@ from typing import (
|
||||
Iterator,
|
||||
KeysView,
|
||||
Mapping,
|
||||
MutableSequence,
|
||||
Tuple,
|
||||
Type,
|
||||
TypeVar,
|
||||
@@ -174,6 +175,7 @@ class ModuleType:
|
||||
__dict__: dict[str, Any]
|
||||
__loader__: _LoaderProtocol | None
|
||||
__package__: str | None
|
||||
__path__: MutableSequence[str]
|
||||
__spec__: ModuleSpec | None
|
||||
def __init__(self, name: str, doc: str | None = ...) -> None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user