I have two classes for example:
class Parent(object):
def hello(self):
print 'Hello world'
def goodbye(self):
print 'Goodbye world'
class Child(Parent):
pass
class Child must inherit only hello() method from Parent and and there should be no mention of goodbye(). Is it possible ?
ps yes, I read this
Important NOTE: And I can modify only Child class (in the parent class of all possible should be left as is)