diff options
author | Benedek Racz <betontalpfa@gmail.com> | 2020-04-07 09:42:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 09:42:26 +0200 |
commit | c900634e483c691df199ef9c1f3115b3bb54a958 (patch) | |
tree | 6c376ab9a57c8df2b0c8872c383f6ef53f48e995 /pexpect/run.py | |
parent | 5374d9033cb1ed1041d7c88cae29c419fe5b5b2b (diff) | |
download | pexpect-git-c900634e483c691df199ef9c1f3115b3bb54a958.tar.gz |
fix run's docstring.
The example code was not shown as code.
Diffstat (limited to 'pexpect/run.py')
-rw-r--r-- | pexpect/run.py | 2 |
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) |