Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ weaving
Function
weaving
recipes/Python/528929_Dynamic/recipe-528929.py:15–19 ·
view source on GitHub ↗
(*args, **kwd)
Source
from the content-addressed store, hash-verified
13
''
&
#x27;
14
def
wrap(f):
15
def
weaving(*args, **kwd):
16
g = f
17
for
h in composer.callables:
18
g = h(g)
19
return
g(*args, **kwd)
20
weaving.__name__ = f.__name__
21
return
weaving
22
return
wrap
Callers
nothing calls this directly
Calls
2
h
Function · 0.50
g
Function · 0.50
Tested by
no test coverage detected