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

Method __init__

example_code/item_055.py:80–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78print("Example 5")
79class MyOtherObject:
80 def __init__(self):
81 self.__private_field = 71
82
83 @classmethod
84 def get_private_field_of_instance(cls, instance):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected