(self, pos, whence=0)
| 1314 | return _BufferedIOMixin.tell(self) + len(self._write_buf) |
| 1315 | |
| 1316 | def seek(self, pos, whence=0): |
| 1317 | if whence not in valid_seek_flags: |
| 1318 | raise ValueError("invalid whence value") |
| 1319 | with self._write_lock: |
| 1320 | self._flush_unlocked() |
| 1321 | return _BufferedIOMixin.seek(self, pos, whence) |
| 1322 | |
| 1323 | def close(self): |
| 1324 | with self._write_lock: |
nothing calls this directly
no test coverage detected