Do all classes need an __init__() method? I have classes that look much
like this one starts out:
class GenerateXML(object):
"""Defines methods to be inherited for StaticXML and AnimationXML"""
def __init__(self):
pass
I would rather not do that. Code without it runs fine, but will there be
any negative consequences down the road? Does object define an __init__
method for me?
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor