Skip to content

Commit 4e62577

Browse files
authored
Fix timeout argument on pexpect spawn class constructor (#11239) (#11240)
1 parent 2cafcc9 commit 4e62577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/pexpect/pexpect/pty_spawn.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class spawn(SpawnBase):
1818
self,
1919
command: str,
2020
args: list[str] = [],
21-
timeout: int = 30,
21+
timeout: float | None = 30,
2222
maxread: int = 2000,
2323
searchwindowsize: int | None = None,
2424
logfile: _Logfile | None = None,

0 commit comments

Comments
 (0)