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

Function brackets

share/docs/prettymethods.py:117–123  ·  view source on GitHub ↗
(parameters_node)

Source from the content-addressed store, hash-verified

115
116
117def brackets(parameters_node):
118 return [
119 emphasis("", "self"),
120 SphinxNodes.desc_name("", "", Text("[")),
121 emphasis("", get_children(parameters_node)[0].astext()),
122 SphinxNodes.desc_name("", "", Text("]")),
123 ]
124
125
126SPECIAL_METHODS = {

Callers 1

prettymethods.pyFile · 0.85

Calls 2

emphasisClass · 0.85
get_childrenFunction · 0.85

Tested by

no test coverage detected