From 4e6257700241f37d51b3c0493fa8f9a5c09c1ad9 Mon Sep 17 00:00:00 2001 From: Renato Garcia Date: Fri, 5 Jan 2024 07:09:51 -0300 Subject: [PATCH] Fix timeout argument on pexpect spawn class constructor (#11239) (#11240) --- stubs/pexpect/pexpect/pty_spawn.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/pexpect/pexpect/pty_spawn.pyi b/stubs/pexpect/pexpect/pty_spawn.pyi index c22a67481..399e7c3af 100644 --- a/stubs/pexpect/pexpect/pty_spawn.pyi +++ b/stubs/pexpect/pexpect/pty_spawn.pyi @@ -18,7 +18,7 @@ class spawn(SpawnBase): self, command: str, args: list[str] = [], - timeout: int = 30, + timeout: float | None = 30, maxread: int = 2000, searchwindowsize: int | None = None, logfile: _Logfile | None = None,