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

Class MyChildObject

example_code/item_055.py:97–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 self.__private_field = 71
96
97 class MyChildObject(MyParentObject):
98 def get_private_field(self):
99 return self.__private_field
100
101 baz = MyChildObject()
102 baz.get_private_field()

Callers 1

item_055.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected