Mercurial > hg > freeDiameter
diff doc/dbg_interactive.py.sample @ 1228:e5010975da35
Fix typo in comment.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Thu, 18 Jul 2013 14:45:37 +0200 |
parents | f0b328ea2fdb |
children |
line wrap: on
line diff
--- a/doc/dbg_interactive.py.sample Wed Jul 17 18:48:53 2013 +0200 +++ b/doc/dbg_interactive.py.sample Thu Jul 18 14:45:37 2013 +0200 @@ -467,7 +467,7 @@ mydwr = msg(buf) mydwr.send() -# Optionaly, a callback can be registered when a request is sent, with an optional object. +# Optionally, a callback can be registered when a request is sent, with an optional object. # This callback takes the answer message as parameter and should return None or a message. (cf. fd_msg_send) def send_callback(msg, obj): print "Received answer:" @@ -479,7 +479,7 @@ mydwr = msg(buf) mydwr.send(send_callback, some_object) -# Again optionaly, a time limit can be specified in this case as follow: +# Again optionally, a time limit can be specified in this case as follow: mydwr.send(send_callback, some_object, 10) # In that case, if no answer / error is received after 10 seconds (the value specified), # the callback is called with the request as parameter.