Write the given bytes buffer to the IO stream. Return the number of bytes written, which is always the length of b in bytes. Raises BlockingIOError if the buffer is full and the underlying raw stream cannot accept more data at the moment.
(self, b)
| 770 | return n |
| 771 | |
| 772 | def write(self, b): |
| 773 | """Write the given bytes buffer to the IO stream. |
| 774 | |
| 775 | Return the number of bytes written, which is always the length of b |
| 776 | in bytes. |
| 777 | |
| 778 | Raises BlockingIOError if the buffer is full and the |
| 779 | underlying raw stream cannot accept more data at the moment. |
| 780 | """ |
| 781 | self._unsupported("write") |
| 782 | |
| 783 | def detach(self): |
| 784 | """ |
nothing calls this directly
no test coverage detected