Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __str__
Method
__str__
example_code/item_073.py:303–305 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
301
self.lock = Lock()
302
303
def
__str__(self):
304
with
self.lock:
305
return
super().__str__()
306
307
def
get(self, y, x):
308
with
self.lock:
Callers
nothing calls this directly
Calls
1
__str__
Method · 0.45
Tested by
no test coverage detected