Erste Version
This commit is contained in:
commit
782b1850a3
1641 files changed
+512713
No files matched your search
@@ -0,0 +1,24 @@
|
||||
from typing 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: ...
|
||||
@property
|
||||
def major(self) -> int: ...
|
||||
@property
|
||||
def minor(self) -> int: ...
|
||||
@property
|
||||
def patch(self) -> int: ...
|
||||
fields: tuple[Literal["major"], Literal["minor"], Literal["patch"]]
|
||||
|
||||
class PygameVersion(SoftwareVersion): ...
|
||||
class SDLVersion(SoftwareVersion): ...
|
||||
|
||||
SDL: SDLVersion
|
||||
ver: str
|
||||
vernum: PygameVersion
|
||||
rev: str
|
||||
|
||||
# keep in sync with version.py
|
||||
__all__ = ["SDL", "ver", "vernum", "rev"]
|
||||
Reference in new issue
Block a user