This commit is contained in:
wittmannzl103469 committed 2026-11-05 15:08:42 +01:00
1 parent de41a02749
commit 9af09cebd3
764 files changed
+54218 -78859

No files matched your search

@@ -1,6 +1,8 @@
from typing import Literal
from typing import Tuple
class SoftwareVersion(tuple[int, int, int]):
from ._common import Literal
class SoftwareVersion(Tuple[int, int, int]):
def __new__(cls, major: int, minor: int, patch: int) -> SoftwareVersion: ...
def __repr__(self) -> str: ...
def __str__(self) -> str: ...
@@ -10,7 +12,7 @@ class SoftwareVersion(tuple[int, int, int]):
def minor(self) -> int: ...
@property
def patch(self) -> int: ...
fields: tuple[Literal["major"], Literal["minor"], Literal["patch"]]
fields: Tuple[Literal["major"], Literal["minor"], Literal["patch"]]
class PygameVersion(SoftwareVersion): ...
class SDLVersion(SoftwareVersion): ...
@@ -19,6 +21,3 @@ SDL: SDLVersion
ver: str
vernum: PygameVersion
rev: str
# keep in sync with version.py
__all__ = ["SDL", "ver", "vernum", "rev"]