MCPcopy Create free account
hub / github.com/dabeaz/python-cookbook / get_spam

Function get_spam

src/8/creating_cached_instances/example2.py:20–21  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

18Spam.manager = CachedSpamManager()
19
20def get_spam(name):
21 return Spam.manager.get_spam(name)
22
23if __name__ == '__main__':
24 a = get_spam('foo')

Callers 1

example2.pyFile · 0.70

Calls 1

get_spamMethod · 0.80

Tested by

no test coverage detected