blob: 3098533247bc2640c259c01fc6675f715a973df5 [file]
# Builtins stub used in sentinel-related test cases.
import types
from typing import Self
class object:
def __init__(self) -> None: pass
def __new__(cls) -> Self: ...
class type: pass
class function:
__name__: str
class int: pass
class bool(int): pass
class str: pass
class sentinel:
def __init__(self, name: str, /) -> None: ...
class dict: pass
class tuple: pass
def isinstance(x: object, t: type) -> bool: pass