Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __init__
Method
__init__
example_code/item_055.py:94–95 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
92
try
:
93
class
MyParentObject:
94
def
__init__(self):
95
self.__private_field = 71
96
97
class
MyChildObject(MyParentObject):
98
def
get_private_field(self):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected