Erste Version
This commit is contained in:
commit
782b1850a3
1641 files changed
+512713
No files matched your search
@@ -0,0 +1,22 @@
|
||||
from collections.abc import Callable
|
||||
from typing import Any
|
||||
|
||||
__version__: str
|
||||
|
||||
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