mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
19
stdlib/3/types.pyi
Normal file
19
stdlib/3/types.pyi
Normal file
@@ -0,0 +1,19 @@
|
||||
# Stubs for types
|
||||
|
||||
# TODO this is work in progress
|
||||
|
||||
from typing import Any
|
||||
|
||||
class ModuleType:
|
||||
__name__ = ... # type: str
|
||||
__file__ = ... # type: str
|
||||
def __init__(self, name: str, doc: Any) -> None: ...
|
||||
|
||||
class MethodType: ...
|
||||
class BuiltinMethodType: ...
|
||||
|
||||
class TracebackType:
|
||||
tb_frame = ... # type: Any
|
||||
tb_lasti = ... # type: int
|
||||
tb_lineno = ... # type: int
|
||||
tb_next = ... # type: Any
|
||||
Reference in New Issue
Block a user