MCPcopy Index your code
hub / github.com/RustPython/RustPython / __call__

Method __call__

extra_tests/custom_text_test_runner.py:106–120  ·  view source on GitHub ↗
(self, data_list, totals=None)

Source from the content-addressed store, hash-verified

104 return self.fmt.format(**data)
105
106 def __call__(self, data_list, totals=None):
107 _r = self.row
108 res = [_r(data) for data in data_list]
109 res.insert(0, _r(self.head))
110 if self.ul:
111 res.insert(1, _r(self.ul, True))
112 if self.tl:
113 res.insert(0, _r(self.tl, True))
114 if totals:
115 if self.ul:
116 res.insert(len(res), _r(self.ul, True))
117 res.insert(len(res), _r(totals))
118 if self.bl:
119 res.insert(len(res), _r(self.bl, True))
120 return "\n".join(res)
121
122
123def get_function_args(func_ref):

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
insertMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected