MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / xf

Function xf

share/docs/prettymethods.py:81–88  ·  view source on GitHub ↗
(name_node, parameters_node, details)

Source from the content-addressed store, hash-verified

79
80def function_transformer(new_name):
81 def xf(name_node, parameters_node, details):
82 return (
83 patch_node(name_node, new_name, ()),
84 patch_node(parameters_node, "", [
85 SphinxNodes.desc_parameter("", "self"),
86 *get_children(parameters_node),
87 ])
88 )
89
90 return xf
91

Callers

nothing calls this directly

Calls 3

patch_nodeFunction · 0.85
get_childrenFunction · 0.85
emphasisClass · 0.85

Tested by

no test coverage detected