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

Class BadContainer

example_code/item_051.py:172–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171print("Example 18")
172class BadContainer:
173 def __init__(self, *, value=[]):
174 self.value = value
175
176obj1 = BadContainer()
177obj2 = BadContainer()

Callers 1

item_051.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected