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

Function run

example_code/item_115/tracemalloc/waste_memory.py:31–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 return values
30
31def run():
32 deep_values = []
33 for _ in range(100):
34 deep_values.append(get_data())
35 return deep_values

Callers

nothing calls this directly

Calls 2

get_dataFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected