MCPcopy Index your code
hub / github.com/python/cpython / write

Method write

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

Source from the content-addressed store, hash-verified

394 (self.fd, self.name) = tempfile._mkstemp_inner(dir, pre, suf, flags, output_type)
395
396 def write(self, str):
397 os.write(self.fd, str)
398
399 def __del__(self):
400 self._close(self.fd)

Calls

no outgoing calls

Tested by

no test coverage detected