MCPcopy Create free account
hub / github.com/RetiredWizard/PyDOS / __setitem__

Method __setitem__

mpython/lib/optional/ws2812.py:58–59  ·  view source on GitHub ↗
(self,indx,rgb)

Source from the content-addressed store, hash-verified

56 return self.led_count
57
58 def __setitem__(self,indx,rgb):
59 self._rgblist[indx] = rgb
60
61 def __getitem__(self,indx):
62 return self._rgblist[indx]

Callers 2

fillMethod · 0.95
showMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected