>>fine, but isn't there any way to hide few function of base class into >>derived one???
I didn't get what is meant by hiding? You can override the function/method of base class in sub class. In that method, you can modify the behaviour for subclass or raise an exception or simply include 'pass'. Anyway, deleting any property of a class in it's subclasses clearly violates the liksov substitution principle.
_______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers