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

Method __init__

example_code/item_065.py:189–190  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

187print("Example 11")
188class Field:
189 def __init__(self):
190 self.internal_name = None
191
192 def __set_name__(self, owner, column_name):
193 self.internal_name = "_" + column_name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected