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

Method __init__

example_code/item_104.py:52–54  ·  view source on GitHub ↗
(self, title, due_date)

Source from the content-addressed store, hash-verified

50print("Example 1")
51class Book:
52 def __init__(self, title, due_date):
53 self.title = title
54 self.due_date = due_date
55
56
57print("Example 2")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected