summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2018-04-01 22:22:12 +0200
committerGitHub <noreply@github.com>2018-04-01 22:22:12 +0200
commit15cd7ba7450ed4e0f808009a9549175f31873a48 (patch)
tree39c5c3410e9b612ea4a90d9b201880b9258f5c34
parente260814025810e0172f6c34c662b1bc55386d344 (diff)
parentb18a9cbe784449d02f76e2b406bc7bb233caa6bc (diff)
downloadpexpect-15cd7ba7450ed4e0f808009a9549175f31873a48.tar.gz
Merge pull request #482 from jkbecker/jkbecker-patch-1
typo
-rw-r--r--pexpect/spawnbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pexpect/spawnbase.py b/pexpect/spawnbase.py
index 0bb28d1..63c0b42 100644
--- a/pexpect/spawnbase.py
+++ b/pexpect/spawnbase.py
@@ -262,7 +262,7 @@ class SpawnBase(object):
# the input is 'foobar'
index = p.expect(['foobar', 'foo'])
# returns 0('foobar') if all input is available at once,
- # but returs 1('foo') if parts of the final 'bar' arrive late
+ # but returns 1('foo') if parts of the final 'bar' arrive late
When a match is found for the given pattern, the class instance
attribute *match* becomes an re.MatchObject result. Should an EOF