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