From 6a8e9b2ad73104740a48b0c8d6c9fd0cc2ae9e92 Mon Sep 17 00:00:00 2001 From: Jeff Quast Date: Mon, 21 Sep 2015 12:35:56 -0700 Subject: will raise -> will be raised + newline --- pexpect/pty_spawn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pexpect/pty_spawn.py') diff --git a/pexpect/pty_spawn.py b/pexpect/pty_spawn.py index 778bbdc..d1df81c 100644 --- a/pexpect/pty_spawn.py +++ b/pexpect/pty_spawn.py @@ -87,8 +87,9 @@ class spawn(SpawnBase): amount of data where you want to match. The searchwindowsize does not affect the size of the incoming data buffer. You will still have access to the full buffer after expect() returns. + When the keyword argument ``timeout`` is specified as a number, - (default: *30*), then :class:`TIMEOUT` will raise after the value + (default: *30*), then :class:`TIMEOUT` will be raised after the value specified has elapsed, in seconds, for any of the :meth:`~.expect` family of method calls. When None, TIMEOUT will not be raised, and :meth:`~.expect` may block indefinitely until match. -- cgit v1.2.1