(func, func_locals)
| 40 | return func(*args,**kwargs) |
| 41 | |
| 42 | def recursor(func, func_locals): |
| 43 | co=func.func_code |
| 44 | def _recursor(**kwargs): |
| 45 | args=tuple([kwargs.pop(co.co_varnames[i],func_locals[co.co_varnames[i]]) |
| 46 | for i in range(co.co_argcount) ]) |
| 47 | return func(*args,**kwargs) |
| 48 | return _recursor |
| 49 | |
| 50 | def recursor1(func): |
| 51 | # for recursion with some pre-computatation; |