mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
The `update` method calls `self[key] = message` for each `(key, message)` pair so it also accepts all the same message types as the `__setitem__` method. Fix the signature so that the inputs are not restricted to `Message` instances or to instance of the `_MessageType` type parameter, but to the more reluctant `_MessageData` type alias.