Detect dictionary set events and emit change events.
(self, key: _KT, value: _VT)
| 807 | class="st">""" |
| 808 | |
| 809 | def __setitem__(self, key: _KT, value: _VT) -> None: |
| 810 | class="st">""class="st">"Detect dictionary set events and emit change events."class="st">"" |
| 811 | dict.__setitem__(self, key, value) |
| 812 | self.changed() |
| 813 | |
| 814 | if TYPE_CHECKING: |
| 815 | class="cm"># from https://github.com/python/mypy/issues/14858 |
no test coverage detected