Skip to content

Commit 3d5ffa8

Browse files
committed
remove __doc__ = and fix tweak doc diffs
1 parent 07995e9 commit 3d5ffa8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

examples/switch.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__doc__ = """
1+
"""
22
switch.py
33
=========
44
@@ -9,7 +9,7 @@
99
Micro Python v1.0.1 on 2014-05-12; PYBv1.0 with STM32F405RG
1010
Type "help()" for more information.
1111
>>> import switch
12-
>>> switch.run_loop([2, 3])
12+
>>> switch.run_loop()
1313
Loop started.
1414
Press Ctrl+C to break out of the loop.
1515
@@ -28,8 +28,8 @@ def run_loop(leds=all_leds):
2828
"""
2929
Start the loop.
3030
31-
:param `use_leds`: Which LEDs to light up upon switch press.
32-
:type `use_leds`: sequence of LED objects
31+
:param `leds`: Which LEDs to light up upon switch press.
32+
:type `leds`: sequence of LED objects
3333
"""
3434
print('Loop started.\nPress Ctrl+C to break out of the loop.')
3535
while 1:

0 commit comments

Comments
 (0)