(self, vm: &VirtualMachine)
| 80 | |
| 81 | impl ToPyObject for f64 { |
| 82 | fn to_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { |
| 83 | vm.ctx.new_float(self).into() |
| 84 | } |
| 85 | } |
| 86 | impl ToPyObject for f32 { |
| 87 | fn to_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { |
no test coverage detected