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

Class ZooDatabase

example_code/item_112.py:51–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50print("Example 1")
51class ZooDatabase:
52
53 def get_animals(self, species):
54 pass
55
56 def get_food_period(self, species):
57 pass
58
59 def feed_animal(self, name, when):
60 pass
61
62
63print("Example 2")

Callers 1

get_databaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected