blob: 135e9cd16e7ce4b4ca4b607ba57efc6b9fc29b7d [file] [log] [blame]
# Minimal set of builtins required to work with Enums
from typing import TypeVar, Generic
T = TypeVar('T')
class object:
def __init__(self): pass
class type: pass
class tuple(Generic[T]):
def __getitem__(self, x: int) -> T: pass
class int: pass
class str:
def __len__(self) -> int: pass
class dict: pass
class ellipsis: pass