C
Carl Banks
Fuzzyman said:Well...
How about not defining it on the base class, but check in the
constructor that the attribute exists and that it is of type
FunctionType ?
That still delays the check until the object is created.
You'd have to use metaclass programming to check this during class
creation time.
Carl Banks