Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __str__
Method
__str__
example_code/item_072.py:84–86 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
82
self.lock = Lock()
83
84
def
__str__(self):
85
with
self.lock:
86
return
super().__str__()
87
88
def
get(self, y, x):
89
with
self.lock:
Callers
nothing calls this directly
Calls
1
__str__
Method · 0.45
Tested by
no test coverage detected