MCPcopy 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
67print("Example 3")
68class 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
76print("Example 4")

Callers 1

item_064.pyFile · 0.85

Calls 1

FieldClass · 0.70

Tested by

no test coverage detected