Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ Integer
Class
Integer
src/9/capturing_class_attribute_definition_order/example1.py:16–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
instance.__dict__[self._name] = value
15
16
class
Integer(Typed):
17
_expected_type = int
18
19
class
Float(Typed):
20
_expected_type = float
Callers
1
Stock
Class · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected