Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ BrokenCustomer
Class
BrokenCustomer
example_code/item_064.py:141–145 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
139
print(
"Example 11"
)
140
try
:
141
class
BrokenCustomer:
# Missing inheritance
142
first_name = Field()
143
last_name = Field()
144
prefix = Field()
145
suffix = Field()
146
147
cust = BrokenCustomer()
148
cust.first_name =
"Mersenne"
Callers
1
item_064.py
File · 0.85
Calls
1
Field
Class · 0.70
Tested by
no test coverage detected