Skip to content

Commit be11730

Browse files
committed
updated doc strings
1 parent 2ae741b commit be11730

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neopixel.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class NeoPixel:
7171
7272
RED = 0x100000 # (0x10, 0, 0) also works
7373
74-
# Using `with` ensures pixels are cleared after we're done.
74+
# Using ``with`` ensures pixels are cleared after we're done.
7575
with neopixel.NeoPixel(NEOPIXEL, 10) as pixels:
7676
pixels[::2] = [RED] * (len(pixels) // 2)
7777
time.sleep(2)
@@ -197,7 +197,7 @@ def fill(self, color):
197197
def write(self):
198198
""".. deprecated: 1.0.0
199199
200-
Use `show` instead. It matches Micro:Bit and Arduino APIs."""
200+
Use ``show`` instead. It matches Micro:Bit and Arduino APIs."""
201201
self.show()
202202

203203
def show(self):

0 commit comments

Comments
 (0)