Detect dictionary set events and emit change events.
(self, key: _KT, value: _VT)
| 811 | """ |
| 812 | |
| 813 | def __setitem__(self, key: _KT, value: _VT) -> None: |
| 814 | """Detect dictionary set events and emit change events.""" |
| 815 | dict.__setitem__(self, key, value) |
| 816 | self.changed() |
| 817 | |
| 818 | if TYPE_CHECKING: |
| 819 | # from https://github.com/python/mypy/issues/14858 |
no test coverage detected