We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ae741b commit be11730Copy full SHA for be11730
neopixel.py
@@ -71,7 +71,7 @@ class NeoPixel:
71
72
RED = 0x100000 # (0x10, 0, 0) also works
73
74
- # Using `with` ensures pixels are cleared after we're done.
+ # Using ``with`` ensures pixels are cleared after we're done.
75
with neopixel.NeoPixel(NEOPIXEL, 10) as pixels:
76
pixels[::2] = [RED] * (len(pixels) // 2)
77
time.sleep(2)
@@ -197,7 +197,7 @@ def fill(self, color):
197
def write(self):
198
""".. deprecated: 1.0.0
199
200
- Use `show` instead. It matches Micro:Bit and Arduino APIs."""
+ Use ``show`` instead. It matches Micro:Bit and Arduino APIs."""
201
self.show()
202
203
def show(self):
0 commit comments