mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add platform.freedesktop_os_release() (#6432)
Documented here: https://docs.python.org/3/library/platform.html#linux-platforms
This commit is contained in:
@@ -62,3 +62,6 @@ def python_revision() -> str: ...
|
||||
def python_build() -> tuple[str, str]: ...
|
||||
def python_compiler() -> str: ...
|
||||
def platform(aliased: bool = ..., terse: bool = ...) -> str: ...
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
def freedesktop_os_release() -> dict[str, str]: ...
|
||||
|
||||
Reference in New Issue
Block a user