MCPcopy 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
mainFunction · 0.45
__init__Method · 0.45
setupMethod · 0.45
notify_moveMethod · 0.45
setupFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected