(
&self,
others: impl core::iter::Iterator<Item = ArgIterable>,
vm: &VirtualMachine,
)
| 353 | } |
| 354 | |
| 355 | fn update( |
| 356 | &self, |
| 357 | others: impl core::iter::Iterator<Item = ArgIterable>, |
| 358 | vm: &VirtualMachine, |
| 359 | ) -> PyResult<()> { |
| 360 | for iterable in others { |
| 361 | for item in iterable.iter(vm)? { |
| 362 | self.add(item?, vm)?; |
| 363 | } |
| 364 | } |
| 365 | Ok(()) |
| 366 | } |
| 367 | |
| 368 | fn update_internal(&self, iterable: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> { |
| 369 | // check AnySet |
no test coverage detected