mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 10:21:14 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
20
stdlib/2.7/types.pyi
Normal file
20
stdlib/2.7/types.pyi
Normal file
@@ -0,0 +1,20 @@
|
||||
# Stubs for types
|
||||
|
||||
from typing import Any
|
||||
|
||||
class ModuleType:
|
||||
__name__ = ... # type: str
|
||||
__file__ = ... # type: str
|
||||
def __init__(self, name: str, doc: Any) -> None: ...
|
||||
|
||||
class TracebackType:
|
||||
...
|
||||
|
||||
class FrameType:
|
||||
...
|
||||
|
||||
class GeneratorType:
|
||||
...
|
||||
|
||||
class ListType:
|
||||
...
|
||||
Reference in New Issue
Block a user