Skip to content

Commit 96cf2d5

Browse files
committed
undo Python 3 change
1 parent 3ac1cf8 commit 96cf2d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/3/_importlib_modulespec.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ModuleType:
3232
__package__ = ... # type: Optional[str]
3333
__spec__ = ... # type: Optional[ModuleSpec]
3434
def __init__(self, name: str, doc: Optional[str] = ...) -> None: ...
35-
def __getattr__(self, name) -> Any: ... # modules can contain anything
35+
# TODO: def __getattr__(self, name) -> Any: ... # modules can contain anything
3636

3737
class Loader(metaclass=ABCMeta):
3838
def load_module(self, fullname: str) -> ModuleType: ...

0 commit comments

Comments
 (0)