Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ color
Method
color
Lib/test/test_dynamicclassattribute.py:181–182 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
179
class
Okay1(ClassWithAbstractVirtualProperty):
180
@DynamicClassAttribute
181
def
color(self):
182
return
self._color
183
def
__init__(self):
184
self._color =
'cyan'
185
with
self.assertRaises(AttributeError):
Callers
8
__init__
Method · 0.45
main
Function · 0.45
__init__
Method · 0.45
setup
Method · 0.45
notify_move
Method · 0.45
setup
Function · 0.45
main
Function · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected