summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Quast <contact@jeffquast.com>2014-11-24 20:32:57 -0800
committerJeff Quast <contact@jeffquast.com>2014-11-24 20:32:57 -0800
commit76f8584440ffeeb2ad5b8727a7faa950741e17dc (patch)
tree5297b08a51f054530b21a83d817095177d1ceb75
parent1118034eaccbb174a24e1c1c221b83a598cec425 (diff)
downloadpexpect-doc-and-test-max-canon.tar.gz
docstring grammer fixes in send*() functiondoc-and-test-max-canon
-rw-r--r--pexpect/pty_spawn.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pexpect/pty_spawn.py b/pexpect/pty_spawn.py
index 16ce4b2..5fbe204 100644
--- a/pexpect/pty_spawn.py
+++ b/pexpect/pty_spawn.py
@@ -476,11 +476,11 @@ class spawn(SpawnBase):
On such a system, only 256 bytes may be received per line. Any
subsequent bytes received will be discarded. BEL (``'\a'``) is then
sent to output if IMAXBEL (termios.h) is set by the tty driver.
- This is usually enabled by default. Linux does not implement honor
- this as an option -- it behaves as though it is always set on.
+ This is usually enabled by default. Linux does not honor this as
+ an option -- it behaves as though it is always set on.
Canonical input processing may be disabled all together by executing
- a shell, then executing stty(1) before executing the final program::
+ a shell, then stty(1), before executing the final program::
>>> bash = pexpect.spawn('/bin/bash', echo=False)
>>> bash.sendline('stty -icanon')