def my_func(p1, p2,
            first_option='default_value',
            second_option=5,
            third_option=[],
            last_option=False,
            *args):
    """Help docstring
    """
    print('%s %s %s %s %s %s %s' % (p1, p2, args, first_option, second_option, third_option, last_option))
    # this will raise IndexError if third option is not set
    print(type(third_option[0]))
def my_func ( p1 , p2 , first_option = 'default_value' , second_option = 5 , third_option = [ ] , last_option = False , * args ) : print ( '%s %s %s %s %s %s %s' % ( p1 , p2 , args , first_option , second_option , third_option , last_option ) ) print ( type ( third_option [ 0 ] ) )
Help docstring