| 1 |
from typing import Any, Dict, Generic, TypeVar, Sequence |
| 2 |
from types import ModuleType |
| 3 |
|
| 4 |
T = TypeVar('T') |
| 5 |
S = TypeVar('S') |
| 6 |
|
| 7 |
class list(Generic[T], Sequence[T]): pass # type: ignore |
| 8 |
|
| 9 |
class object: |
| 10 |
def __init__(self) -> None: pass |
| 11 |
class type: pass |
| 12 |
class function: pass |
| 13 |
class int: pass |
| 14 |
class float: pass |
| 15 |
class str: pass |
| 16 |
class bool: pass |
| 17 |
class tuple(Generic[T]): pass |
| 18 |
class dict(Generic[T, S]): pass |
| 19 |
class ellipsis: pass |
| 20 |
|
| 21 |
classmethod = object() |
| 22 |
staticmethod = object() |
| 23 |
property = object() |
| 24 |
def hasattr(x: object, name: str) -> bool: pass |