(&self, other: ArgIterable, vm: &VirtualMachine)
| 303 | } |
| 304 | |
| 305 | pub(super) fn isdisjoint(&self, other: ArgIterable, vm: &VirtualMachine) -> PyResult<bool> { |
| 306 | for item in other.iter(vm)? { |
| 307 | if self.contains(&*item?, vm)? { |
| 308 | return Ok(false); |
| 309 | } |
| 310 | } |
| 311 | Ok(true) |
| 312 | } |
| 313 | |
| 314 | fn iter(&self) -> PySetIterator { |
| 315 | PySetIterator { |