MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / set

Method set

example_code/item_074.py:65–66  ·  view source on GitHub ↗
(self, y, x, state)

Source from the content-addressed store, hash-verified

63 return self.rows[y % self.height][x % self.width]
64
65 def set(self, y, x, state):
66 self.rows[y % self.height][x % self.width] = state
67
68 def __str__(self):
69 output = ""

Callers 2

setMethod · 0.45
item_074.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected