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

Method write

Lib/email/generator.py:419–420  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

417 """
418
419 def write(self, s):
420 self._fp.write(s.encode('ascii', 'surrogateescape'))
421
422 def _new_buffer(self):
423 return BytesIO()

Callers 1

_write_headersMethod · 0.95

Calls 2

writeMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected