(file: &PyObject, vm: &VirtualMachine)
| 28 | pub use _io::{OpenArgs, io_open as open}; |
| 29 | |
| 30 | fn file_closed(file: &PyObject, vm: &VirtualMachine) -> PyResult<bool> { |
| 31 | file.get_attr("closed", vm)?.try_to_bool(vm) |
| 32 | } |
| 33 | |
| 34 | const DEFAULT_BUFFER_SIZE: usize = 128 * 1024; |
| 35 |
no test coverage detected