MCPcopy Create free account
hub / github.com/ActiveState/code / meth

Method meth

recipes/Python/491265_Automatic_Recursion/recipe-491265.py:102–107  ·  view source on GitHub ↗
(self,a,b=1,c=2)

Source from the content-addressed store, hash-verified

100
101class Class:
102 def meth(self,a,b=1,c=2):
103 print locals()
104 if c<=0: return
105 else:
106 recurse(Class.meth,locals(),
107 c=c-1)
108
109if __name__=='__main__':
110 myfunc('myfunc')

Callers 1

recipe-491265.pyFile · 0.45

Calls 1

recurseFunction · 0.70

Tested by

no test coverage detected