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

Method set

example_code/item_073.py:131–132  ·  view source on GitHub ↗
(self, y, x, state)

Source from the content-addressed store, hash-verified

129 return self.rows[y % self.height][x % self.width]
130
131 def set(self, y, x, state):
132 self.rows[y % self.height][x % self.width] = state
133
134 def __str__(self):
135 output = ""

Callers 3

simulate_pipelineFunction · 0.95
item_073.pyFile · 0.45
setMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected