def func(param1=True, param2="default val"):
    """Description of func with docstring groups style (Googledoc).

    Parameters
    ----------
    param1 :
        descr of param1 that has True for default value
    param2 :
        descr of param2 (Default value = 'default val')

    Returns
    -------
    type
        some value

    Raises
    ------
    keyError
        raises key exception
    TypeError
        raises type exception

    """
    pass


class A:
    """ """

    def method(self, param1, param2=None):
        """

        Parameters
        ----------
        param1 :
            param param2:  (Default value = None)
        param2 :
             (Default value = None)

        Returns
        -------

        """
        pass
