(zelf: PyObjectRef, args: FuncArgs, vm: &VirtualMachine)
| 2796 | } |
| 2797 | |
| 2798 | fn slot_init(zelf: PyObjectRef, args: FuncArgs, vm: &VirtualMachine) -> PyResult<()> { |
| 2799 | let zelf_ref: PyRef<Self> = zelf.try_into_value(vm)?; |
| 2800 | { |
| 2801 | let mut data = zelf_ref.lock_opt(vm)?; |
| 2802 | *data = None; |
| 2803 | } |
| 2804 | let (buffer, text_args): (PyObjectRef, TextIOWrapperArgs) = args.bind(vm)?; |
| 2805 | Self::init(zelf_ref, (buffer, text_args), vm) |
| 2806 | } |
| 2807 | } |
| 2808 | |
| 2809 | impl TextIOWrapper { |
nothing calls this directly
no test coverage detected