Brian van den Broek wrote: > But the academic issue "How/Can it be done?" still itches.
class __TwoUnderBase(object): def __init__(self): if self.__class__.__name__ == "__TwoUnderBase": print "From __TwoUnderBase" else: print "From subclass", </F> -- http://mail.python.org/mailman/listinfo/python-list