diff options
author | Rick Lin <rickhau@gmail.com> | 2014-11-20 16:32:36 +0800 |
---|---|---|
committer | Rick Lin <rickhau@gmail.com> | 2014-11-20 16:32:36 +0800 |
commit | f6cada92d67bd14f23532250ae55703980029e79 (patch) | |
tree | 7fd7413f8468e60c8724b01b45122c051c397486 | |
parent | e852f78080fb88660ec8102ce84314307f92ae56 (diff) | |
download | pexpect-f6cada92d67bd14f23532250ae55703980029e79.tar.gz |
Rectify docstring typo in compile_pattern_list()
-rw-r--r-- | pexpect/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pexpect/__init__.py b/pexpect/__init__.py index 8e2b21e..c5d55a2 100644 --- a/pexpect/__init__.py +++ b/pexpect/__init__.py @@ -1371,7 +1371,7 @@ class spawn(object): cpl = self.compile_pattern_list(my_pattern) while some_condition: ... - i = self.expect_list(clp, timeout) + i = self.expect_list(cpl, timeout) ... ''' |