Rainer Deyke wrote: > def f(): > return > yield 'Never reached.' > > > Is this function a generator? Yes, but only if nobody removes the seemingly > redundant 'yield' statement. def f(): return x x = 1 Is "x" a local variable? Most of your arguments apply to local variables as well. Neil