In [ ]:
help('help')

In [ ]:
def spam(eggs):
    """spam the spam with spam
    
    :param eggs: tastes better with eggs
    
    """

In [ ]:
spam.__doc__

In [ ]:
help(spam)

In [ ]:
class Egg(object):
    """class desription"""
    def __init__(self, weight=30):
        self.weight = weight
        """weight of the egg in grams"""
        
    def fry(self):
        """function description"""
        pass

In [ ]:
help(Egg)

In [ ]:
dir(Egg)

In [ ]:
egg = Egg()
dir(egg)

In [ ]:
egg.weight