From 3688e65c8d54f1b2122bb4c02f8ac68d6dfd1d48 Mon Sep 17 00:00:00 2001 From: boulea7 Date: Thu, 13 Aug 2026 12:20:03 +0800 Subject: [PATCH] Restore Popen stream types --- stdlib/subprocess.pyi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stdlib/subprocess.pyi b/stdlib/subprocess.pyi index c191f0e35de9..0790069c115c 100644 --- a/stdlib/subprocess.pyi +++ b/stdlib/subprocess.pyi @@ -1030,9 +1030,9 @@ class CalledProcessError(SubprocessError): class Popen(Generic[AnyStr]): args: _CMD - stdin: IO[Any] | None - stdout: IO[Any] | None - stderr: IO[Any] | None + stdin: IO[AnyStr] | None + stdout: IO[AnyStr] | None + stderr: IO[AnyStr] | None pid: int returncode: int | MaybeNone universal_newlines: bool