It's in PyEval_EvalCodeEx(). Look for the SETLOCAL() macro. The code in lines 2305 to 2494 is all dealing with function arguments. Jeremy