MCPcopy Create free account
hub / github.com/ImageEngine/cortex / curriedFunction

Function curriedFunction

python/IECore/curry.py:43–48  ·  view source on GitHub ↗
( *callTimeArgs, **callTimeKwds )

Source from the content-addressed store, hash-verified

41 bakeArgs = bakeArgs[1:]
42
43 def curriedFunction( *callTimeArgs, **callTimeKwds ) :
44 args = bakeArgs + callTimeArgs
45 kwds = bakeKwds.copy()
46 kwds.update( callTimeKwds )
47
48 return func( *args, **kwds )
49
50 return curriedFunction

Callers

nothing calls this directly

Calls 2

copyMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected