Populate from the listeners in another :class:`_Dispatch` object.
(
self, other: _Dispatch[_ET], only_propagate: bool = True
)
| 200 | return _UnpickleDispatch(), (self._instance_cls,) |
| 201 | |
| 202 | def _update( |
| 203 | self, other: _Dispatch[_ET], only_propagate: bool = True |
| 204 | ) -> None: |
| 205 | """Populate from the listeners in another :class:`_Dispatch` |
| 206 | object.""" |
| 207 | for ls in other._event_descriptors: |
| 208 | if isinstance(ls, _EmptyListener): |
| 209 | continue |
| 210 | getattr(self, ls.name).for_modify(self)._update( |
| 211 | ls, only_propagate=only_propagate |
| 212 | ) |
| 213 | |
| 214 | def _clear(self) -> None: |
| 215 | for ls in self._event_descriptors: |