mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
create stub for __main__ (#5354)
* create stub for __main__ * exclude from pyright, like all other __getattr__ incomplete stubs
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
__future__: 2.7
|
||||
__main__: 2.7
|
||||
_ast: 3.6
|
||||
_bisect: 2.7
|
||||
_bootlocale: 3.6
|
||||
|
||||
3
stdlib/__main__.pyi
Normal file
3
stdlib/__main__.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
Reference in New Issue
Block a user