Skip to content

Commit 4944abc

Browse files
doc: usage: use correct syntax for indented REPL commands
Signed-off-by: Bastian Krause <bst@pengutronix.de>
1 parent 96a6cb5 commit 4944abc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/usage.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,9 @@ target. While labgrid registers an ``atexit`` handler to cleanup targets, this h
292292
the advantage that exceptions can be handled by your application::
293293

294294
>>> try:
295-
>>> target.cleanup()
296-
>>> except Exception as e:
297-
>>> <your code here>
295+
... target.cleanup()
296+
... except Exception as e:
297+
... pass # your code here
298298

299299
.. _usage_environments:
300300

0 commit comments

Comments
 (0)