MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-491265.py

File recipe-491265.py

recipes/Python/491265_Automatic_Recursion/recipe-491265.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# simple dirty trick for automatic recursion: keyword args from locals()
2
3def myfunc(a,b=1,c=2,d=3,e=4):
4 _kwargs=locals().copy() # freeze unconditional at very beginning

Callers

nothing calls this directly

Calls 9

recursor1Function · 0.85
func3Function · 0.85
func4Function · 0.85
func_with_echoFunction · 0.85
myfuncFunction · 0.70
func1Function · 0.70
func2Function · 0.70
ClassClass · 0.70
methMethod · 0.45

Tested by

no test coverage detected