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

Method __init__

example_code/item_063.py:104–105  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

102print("Example 5")
103class BetterSerializable:
104 def __init__(self, *args):
105 self.args = args
106
107 def serialize(self):
108 return json.dumps(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected