Skip to content

Commit 5df69d9

Browse files
author
Kay
committed
Doc fix
1 parent 25643c9 commit 5df69d9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

scan/client/scanclient.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,14 @@ def submit(self, cmds, name='UnNamed', queue=True, timeout=0, deadline=None):
223223
Examples::
224224
225225
>>> cmds = [ Comment('Hello'), Set('x', 10) ]
226-
>>> id = client.submit( cmds, "My First Scan")
226+
>>> id = client.submit(cmds, "My First Scan")
227227
228-
>>> cmds = CommandSequent(Comment('Hello'))
228+
>>> cmds = CommandSequence(Comment('Hello'))
229229
>>> cmds.append(Set('x', 10))
230-
>>> id = client.submit( cmds, "My Second Scan")
230+
>>> id = client.submit(cmds, "My Second Scan")
231+
232+
>>> cmds = CommandSequence(Delay(600))
233+
>>> id = client.submit(cmds, "Timeout", timeout=10)
231234
"""
232235
quoted_name = quote(name, '')
233236
if isinstance(cmds, str):

0 commit comments

Comments
 (0)