(zelf: PyRef<Self>, other: ArgIterable, vm: &VirtualMachine)
| 1193 | } |
| 1194 | |
| 1195 | fn __sub__(zelf: PyRef<Self>, other: ArgIterable, vm: &VirtualMachine) -> PyResult<PySet> { |
| 1196 | let zelf = Self::to_set(zelf, vm)?; |
| 1197 | let inner = zelf.difference(other, vm)?; |
| 1198 | Ok(PySet { inner }) |
| 1199 | } |
| 1200 | |
| 1201 | fn __rsub__(zelf: PyRef<Self>, other: ArgIterable, vm: &VirtualMachine) -> PyResult<PySet> { |
| 1202 | let left = PySetInner::from_iter(other.iter(vm)?, vm)?; |
nothing calls this directly
no test coverage detected