Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ _astuple
Method
_astuple
example_code/item_051.py:255–256 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
253
254
255
def
_astuple(self):
256
return
(self.red, self.green, self.blue)
257
258
259
print(
"Example 28"
)
Callers
7
__eq__
Method · 0.95
item_051.py
File · 0.45
__eq__
Method · 0.45
__lt__
Method · 0.45
__le__
Method · 0.45
__gt__
Method · 0.45
__ge__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected