Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ set
Method
set
example_code/item_074.py:92–94 ·
view source on GitHub ↗
(self, y, x, state)
Source
from the content-addressed store, hash-verified
90
return
super().get(y, x)
91
92
def
set(self, y, x, state):
93
with
self.lock:
94
return
super().set(y, x, state)
95
96
97
def
count_neighbors(y, x, get_cell):
Callers
nothing calls this directly
Calls
1
set
Method · 0.45
Tested by
no test coverage detected