mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
platform, tarfile, io: Python 3.13 updates (#12056)
This commit is contained in:
@@ -40,3 +40,28 @@ def platform(aliased: bool = ..., terse: bool = ...) -> str: ...
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
def freedesktop_os_release() -> dict[str, str]: ...
|
||||
|
||||
if sys.version_info >= (3, 13):
|
||||
class AndroidVer(NamedTuple):
|
||||
release: str
|
||||
api_level: int
|
||||
manufacturer: str
|
||||
model: str
|
||||
device: str
|
||||
is_emulator: bool
|
||||
|
||||
class IOSVersionInfo(NamedTuple):
|
||||
system: str
|
||||
release: str
|
||||
model: str
|
||||
is_simulator: bool
|
||||
|
||||
def android_ver(
|
||||
release: str = "",
|
||||
api_level: int = 0,
|
||||
manufacturer: str = "",
|
||||
model: str = "",
|
||||
device: str = "",
|
||||
is_emulator: bool = False,
|
||||
) -> AndroidVer: ...
|
||||
def ios_ver(system: str = "", release: str = "", model: str = "", is_simulator: bool = False) -> IOSVersionInfo: ...
|
||||
|
||||
Reference in New Issue
Block a user