Method
issuperset
(&self, other: ArgIterable, vm: &VirtualMachine)
Source from the content-addressed store, hash-verified
| 289 | } |
| 290 | |
| 291 | fn issuperset(&self, other: ArgIterable, vm: &VirtualMachine) -> PyResult<bool> { |
| 292 | for item in other.iter(vm)? { |
| 293 | if !self.contains(&*item?, vm)? { |
| 294 | return Ok(false); |
| 295 | } |
| 296 | } |
| 297 | Ok(true) |
| 298 | } |
| 299 | |
| 300 | fn issubset(&self, other: ArgIterable, vm: &VirtualMachine) -> PyResult<bool> { |
| 301 | let other_set = Self::from_iter(other.iter(vm)?, vm)?; |
Callers
nothing calls this directly
Tested by
no test coverage detected