We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

The __init__ method

__init__(self[, …])

Called when the instance has been created, in order to initialize the object. The arguments are those passed to the class constructor expression. If a base class has an __init__ method, the derived class’s __init__ method, if any, must explicitly call it to ensure proper initialization of the base class part of the instance; for example: “BaseClass.__init__(self, [args…])”. As a special constraint on constructors, no value may be returned; doing so will cause a TypeError to be raised at runtime.

Note that the instance has already been created when this method is called. To fully control construction, see __new__.