Constructor
A constructor is a function that initializes a newly allocated object.
Related concepts: ClassObjectMethod
Closest Wikipedia entry: Constructor (object-oriented programming)
Misconceptions about Constructor18 documented Misconceptions
Check YourselfCannotChainAttributeToObjectInstantiation
Method calls, and attribute accesses in general, cannot be chained to a constructor invocation.InitCreates
__init__ must create a new objectInitReturnsObject
__init__ needs to return an objectNoEmptyInit
__init__ must do somethingObjectsMustBeNamed
A variable is needed to instantiate an object