Trace Function In Python With Parameters