MCPcopy Index your code
hub / github.com/reactive-python/reactpy / write

Method write

docs/docs_app/examples.py:155–161  ·  view source on GitHub ↗
(self, text: str)

Source from the content-addressed store, hash-verified

153 return "".join(self._lines)
154
155 def write(self, text: str) -> None:
156 if len(self._lines) == self._max_lines:
157 self._lines = self._lines[1:] + (text,)
158 else:
159 self._lines += (text,)
160 if self._callback is not None:
161 self._callback(self.getvalue())
162
163
164def _make_example_did_not_run(example_name):

Callers 1

capture_printFunction · 0.80

Calls 1

getvalueMethod · 0.95

Tested by

no test coverage detected