MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / MyClass

Class MyClass

example_code/item_025.py:74–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73print("Example 8")
74class MyClass:
75 def __init__(self):
76 self.alligator = "hatchling"
77 self.elephant = "calf"
78
79a = MyClass()
80for key, value in a.__dict__.items():

Callers 1

item_025.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected