Add platform.freedesktop_os_release() (#6432)

Documented here: https://docs.python.org/3/library/platform.html#linux-platforms
This commit is contained in:
Alex Waygood
2021-11-28 22:50:25 +00:00
committed by GitHub
parent 71999b7cde
commit 73d638fe8e

View File

@@ -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]: ...