(self, data: bytes | bytearray | memoryview)
| 42 | self.close() |
| 43 | |
| 44 | def put(self, data: bytes | bytearray | memoryview) -> None: |
| 45 | if self._closed: |
| 46 | raise _core.ClosedResourceError("virtual connection closed") |
| 47 | self._data += data |
| 48 | self._lot.unpark_all() |
| 49 | |
| 50 | def _check_max_bytes(self, max_bytes: int | None) -> None: |
| 51 | if max_bytes is None: |