Skip to content

Commit

Permalink
remove __doc__ = and fix tweak doc diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
Metallicow committed Jun 3, 2014
1 parent 07995e9 commit 3d5ffa8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/switch.py
@@ -1,4 +1,4 @@
__doc__ = """
"""
switch.py
=========
Expand All @@ -9,7 +9,7 @@
Micro Python v1.0.1 on 2014-05-12; PYBv1.0 with STM32F405RG
Type "help()" for more information.
>>> import switch
>>> switch.run_loop([2, 3])
>>> switch.run_loop()
Loop started.
Press Ctrl+C to break out of the loop.
Expand All @@ -28,8 +28,8 @@ def run_loop(leds=all_leds):
"""
Start the loop.
:param `use_leds`: Which LEDs to light up upon switch press.
:type `use_leds`: sequence of LED objects
:param `leds`: Which LEDs to light up upon switch press.
:type `leds`: sequence of LED objects
"""
print('Loop started.\nPress Ctrl+C to break out of the loop.')
while 1:
Expand Down

0 comments on commit 3d5ffa8

Please sign in to comment.