Skip to content

Conversation

@suutari
Copy link
Contributor

@suutari suutari commented Nov 25, 2019

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.

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.
@JelleZijlstra JelleZijlstra merged commit 5668824 into python:master Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants