Method
_remove_notifiers
(
self, handler: t.Callable[..., t.Any] | None, name: Sentinel | str, type: str | Sentinel
)
Source from the content-addressed store, hash-verified
| 1591 | nlist.append(handler) |
| 1592 | |
| 1593 | def _remove_notifiers( |
| 1594 | self, handler: t.Callable[..., t.Any] | None, name: Sentinel | str, type: str | Sentinel |
| 1595 | ) -> None: |
| 1596 | try: |
| 1597 | if handler is None: |
| 1598 | del self._trait_notifiers[name][type] |
| 1599 | else: |
| 1600 | self._trait_notifiers[name][type].remove(handler) |
| 1601 | except KeyError: |
| 1602 | pass |
| 1603 | |
| 1604 | def on_trait_change( |
| 1605 | self, |
Tested by
no test coverage detected