Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ OpaqueClass
Class
OpaqueClass
example_code/item_012.py:93–96 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
92
print(
"Example 8"
)
93
class
OpaqueClass:
94
def
__init__(self, x, y):
95
self.x = x
96
self.y = y
97
98
obj = OpaqueClass(1,
"foo"
)
99
print(obj)
Callers
1
item_012.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected