(&self, _args: PyObjectRef, vm: &VirtualMachine)
| 192 | } |
| 193 | |
| 194 | fn __ior__(&self, _args: PyObjectRef, vm: &VirtualMachine) -> PyResult { |
| 195 | Err(vm.new_type_error(format!( |
| 196 | r#""'|=' is not supported by {}; use '|' instead""#, |
| 197 | Self::class(&vm.ctx) |
| 198 | ))) |
| 199 | } |
| 200 | |
| 201 | fn __or__(&self, args: PyObjectRef, vm: &VirtualMachine) -> PyResult { |
| 202 | vm._or(self.copy(vm)?.as_ref(), args.as_ref()) |