Final exam version
This commit is contained in:
19
venv/lib/python3.12/site-packages/pygame/base.pyi
Normal file
19
venv/lib/python3.12/site-packages/pygame/base.pyi
Normal file
@@ -0,0 +1,19 @@
|
||||
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: ...
|
||||
Reference in New Issue
Block a user