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

24 lines
600 B
Python
Raw Normal View History

2024-05-23 01:57:24 +02:00
from typing import Tuple
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: ...
@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