From 1994708deca5e2a41b9ce739175092eb3ec79b78 Mon Sep 17 00:00:00 2001 From: guoci Date: Tue, 28 Oct 2025 17:28:47 -0400 Subject: [PATCH] add type stub for `sys.reload_environ` --- stdlib/os/__init__.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stdlib/os/__init__.pyi b/stdlib/os/__init__.pyi index 71c79dfac399..580452739f7f 100644 --- a/stdlib/os/__init__.pyi +++ b/stdlib/os/__init__.pyi @@ -729,6 +729,9 @@ environ: _Environ[str] if sys.platform != "win32": environb: _Environ[bytes] +if sys.version_info >= (3, 14): + def reload_environ() -> None: ... + if sys.version_info >= (3, 11) or sys.platform != "win32": EX_OK: Final[int]