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

Function func

recipes/Python/201294_Dynamic_Classes/recipe-201294.py:123–124  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

121 class C(object):
122 pass
123 def func(cls):
124 return "<<%s>>" % cls.__name__
125
126 addClassMethod(C, func, 'className')
127

Callers 5

watch_directoriesFunction · 0.50
reDictFunction · 0.50
recipe-222061.pyFile · 0.50
__setattr__Method · 0.50
curriedFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected