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

Method __init__

example_code/item_055.py:140–141  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

138print("Example 11")
139class MyBaseClass:
140 def __init__(self, value):
141 self.__value = value
142
143 def get_value(self):
144 return self.__value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected