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

Method write

Lib/test/test_tempfile.py:377–378  ·  view source on GitHub ↗
(self, str)

Source from the content-addressed store, hash-verified

375 (self.fd, self.name) = tempfile._mkstemp_inner(dir, pre, suf, flags, output_type)
376
377 def write(self, str):
378 os.write(self.fd, str)
379
380 def __del__(self):
381 self._close(self.fd)

Calls

no outgoing calls

Tested by

no test coverage detected