Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ Customer
Class
Customer
example_code/item_064.py:68–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
67
print(
"Example 3"
)
68
class
Customer:
69
# Class attributes
70
first_name = Field(
"first_name"
)
71
last_name = Field(
"last_name"
)
72
prefix = Field(
"prefix"
)
73
suffix = Field(
"suffix"
)
74
75
76
print(
"Example 4"
)
Callers
1
item_064.py
File · 0.85
Calls
1
Field
Class · 0.70
Tested by
no test coverage detected