Skip to content

Improve type inference by supporting partial OrderedDict types #8039

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 29, 2019

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Nov 29, 2019

This example no longer needs a type annotation:

from collections import OrderedDict

x = OrderedDict()
x[1] = 'x'

Work towards #1055.

This example no longer needs a type annotation:

```
from collections import OrderedDict

x = OrderedDict()
x[1] = 'x'
```
@JukkaL JukkaL requested a review from ilevkivskyi November 29, 2019 15:56
@JukkaL JukkaL merged commit 7fa4425 into master Nov 29, 2019
@ilevkivskyi ilevkivskyi deleted the partial-ordereddict branch November 29, 2019 18:13
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