Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz-course/python-mastery
/ check
Method
check
Solutions/4_3/validate.py:9–10 ·
view source on GitHub ↗
(cls, value)
Source
from the content-addressed store, hash-verified
7
8
@classmethod
9
def
check(cls, value):
10
return
value
11
12
def
__set__(self, instance, value):
13
instance.__dict__[self.name] = self.check(value)
Callers
1
__set__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected