Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
171
print(
"Example 18"
)
172
class
BadContainer:
173
def
__init__(self, *, value=[]):
174
self.value = value
175
176
obj1 = BadContainer()
177
obj2 = BadContainer()
Callers
1
item_051.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected