>>> import m1
>>> f = m1.func
>>> args = [1,2,3]
>>> kwargs = {'a':5, 'b':6}
>>> print print_def(f, args, kwargs)
from m1 import func
func(1,2,3, a=5, b=6)
>>> print print_def(m1)
import m1
...
>>> import m1
>>> f = m1.func
>>> args = [1,2,3]
>>> kwargs = {'a':5, 'b':6}
>>> print print_def(f, args, kwargs)
from m1 import func
func(1,2,3, a=5, b=6)
>>> print print_def(m1)
import m1
...