I am using python 2.6
class Father(object):
def __init__(self, *args, **kwargs):
self.is_rich = 'yes'
self.single = 'yes'
class Son(Father):
def __init__(self, *args, **kwargs):
self.has_job = 'yes'
son = Son()
print dir(son) --> Does not display Father class attributes is_rich & single?
Why?