Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __hash__
Method
__hash__
example_code/item_056.py:365–366 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
363
364
365
def
__hash__(self):
366
return
hash((self.name, self.x, self.y))
367
368
369
print(
"Example 30"
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected