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)
| 736 | return n |
| 737 | |
| 738 | def write(self, b): |
| 739 | """Write the given bytes buffer to the IO stream. |
| 740 | |
| 741 | Return the number of bytes written, which is always the length of b |
| 742 | in bytes. |
| 743 | |
| 744 | Raises BlockingIOError if the buffer is full and the |
| 745 | underlying raw stream cannot accept more data at the moment. |
| 746 | """ |
| 747 | self._unsupported("write") |
| 748 | |
| 749 | def detach(self): |
| 750 | """ |
nothing calls this directly
no test coverage detected