Why does __init__ not get called?

Lonnie Princehouse finite.automaton at gmail.com
Mon Aug 8 23:33:54 CEST 2005

Uh... are you actually trying to instantiate this class?

  mydate = DateTime(2005, 8, 8)

The reason I ask is that __init__ /is/ called when I run your code on
Python 2.4, provided that the above line is added to the end.

More information about the Python-list mailing list