(param1, param2='default val2')
Description of func with docstring reST style.

    :param param1: descr of param
    :type param1: type
    :returns: some value
    :raises keyError: raises exception
Description of func with docstring reST style.
Description of func with docstring reST style .
def func2(param1, param2='default val2') -> list:
    '''Description of func with docstring reST style.

    :param param1: descr of param
    :type param1: type
    :returns: some value
    :raises keyError: raises exception

    '''
    pass
def func2 ( param1 , param2 = 'default val2' ) -> list : pass