MCPcopy 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

139print("Example 11")
140try:
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.pyFile · 0.85

Calls 1

FieldClass · 0.70

Tested by

no test coverage detected