summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRed_M <1468433+Red-M@users.noreply.github.com>2020-04-07 17:47:28 +1000
committerGitHub <noreply@github.com>2020-04-07 17:47:28 +1000
commit1793f8cb60fc0e5a661b66535644b61b69db696e (patch)
tree6c376ab9a57c8df2b0c8872c383f6ef53f48e995
parent5374d9033cb1ed1041d7c88cae29c419fe5b5b2b (diff)
parentc900634e483c691df199ef9c1f3115b3bb54a958 (diff)
downloadpexpect-git-1793f8cb60fc0e5a661b66535644b61b69db696e.tar.gz
Merge pull request #635 from raczben/patch-1
fix run's docstring.
-rw-r--r--pexpect/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pexpect/run.py b/pexpect/run.py
index ff288a1..5695ab7 100644
--- a/pexpect/run.py
+++ b/pexpect/run.py
@@ -66,7 +66,7 @@ def run(command, timeout=30, withexitstatus=False, events=None,
The 'events' argument should be either a dictionary or a tuple list that
contains patterns and responses. Whenever one of the patterns is seen
in the command output, run() will send the associated response string.
- So, run() in the above example can be also written as:
+ So, run() in the above example can be also written as::
run("mencoder dvd://1 -o video.avi -oac copy -ovc copy",
events=[(TIMEOUT,print_ticks)], timeout=5)