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

Class DecoratedTraceDict

example_code/item_066.py:243–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241print("Example 10")
242@trace
243class DecoratedTraceDict(dict):
244 pass
245
246trace_dict = DecoratedTraceDict([("hi", 1)])
247trace_dict["there"] = 2

Callers 1

item_066.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected