Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz-course/python-mastery
/ price
Method
price
Solutions/4_2/validate.py:71–72 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
69
70
@property
71
def
price(self):
72
return
self._price
73
@price.setter
74
def
price(self, value):
75
self._price = PositiveFloat.check(value)
Callers
nothing calls this directly
Calls
1
check
Method · 0.45
Tested by
no test coverage detected