.How can we pass optional or keyword parameters from one function to another in Python

How can we pass optional or keyword parameters from one function to another in Python?

def myfunction(param1, param2=None)
    if param2 == None:
        #do something without param2
    else:
        #do something with param2

then you can use it like this

myfunction(15, 32) or
myfunction(15)