Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz-course/python-mastery
/ price
Method
price
Solutions/5_2/stock.py:36–37 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
34
35
@property
36
def
price(self):
37
return
self._price
38
@price.setter
39
def
price(self, value):
40
if
not isinstance(value, self._types[2]):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected