blob: e4410ee3129e959da02e0d2609d569f252c1748e [file]
# builtins stub used in for statement test cases
import types
from typing import TypeVar, Generic, Iterable, Iterator, Generator
from abc import abstractmethod, ABCMeta
t = TypeVar('t')
class object:
def __init__(self) -> None: pass
class type: pass
class tuple(Generic[t]):
def __iter__(self) -> Iterator[t]: pass
class function: pass
class bool: pass
class int: pass # for convenience
class float: pass # for convenience
class str: # for convenience
def upper(self) -> str: ...
class list(Iterable[t], Generic[t]):
def __iter__(self) -> Iterator[t]: pass
class dict: pass