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

Method set

example_code/item_072.py:67–68  ·  view source on GitHub ↗
(self, y, x, state)

Source from the content-addressed store, hash-verified

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

Callers 2

setMethod · 0.45
item_072.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected