David M. Cook writes:
> If I understand correctly, GtkObject is an "abstract" class. It's not meant
> to be instantiated. Your example works if, for example, foo = GtkButton().
For purely abstract classes, perhaps the constructor should include
a line like:
assert self.__class__ is not GtkObject
(or whatever specific abstract class it is). That seems reasonable.
When that's the only thing in the constructor, subclass constructors
can simply not call it to avoid the overhead of the call.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
Corporation for National Research Initiatives
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]