MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / write

Method write

tools/python-3.11.9-amd64/Lib/_pyio.py:676–682  ·  view source on GitHub ↗

Write the given buffer to the IO stream. Returns the number of bytes written, which may be less than the length of b in bytes.

(self, b)

Source from the content-addressed store, hash-verified

674 self._unsupported("readinto")
675
676 def write(self, b):
677 """Write the given buffer to the IO stream.
678
679 Returns the number of bytes written, which may be less than the
680 length of b in bytes.
681 """
682 self._unsupported("write")
683
684io.RawIOBase.register(RawIOBase)
685from _io import FileIO

Callers

nothing calls this directly

Calls 1

_unsupportedMethod · 0.80

Tested by

no test coverage detected