Traktor/myenv/Lib/site-packages/pygame/base.pyi

20 lines
586 B
Python
Raw Permalink Normal View History

2024-05-26 05:12:46 +02:00
from typing import Any, Tuple, Callable
class error(RuntimeError): ...
class BufferError(Exception): ...
# Always defined
HAVE_NEWBUF: int = 1
def init() -> Tuple[int, int]: ...
def quit() -> None: ...
def get_init() -> bool: ...
def get_error() -> str: ...
def set_error(error_msg: str) -> None: ...
def get_sdl_version(linked: bool = True) -> Tuple[int, int, int]: ...
def get_sdl_byteorder() -> int: ...
def register_quit(callable: Callable[[], Any]) -> None: ...
# undocumented part of pygame API, kept here to make stubtest happy
def get_array_interface(arg: Any) -> dict: ...