Skip to content

Getting and setting items of TypedDict #2486

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

Closed
JukkaL opened this issue Nov 24, 2016 · 0 comments · Fixed by #2526
Closed

Getting and setting items of TypedDict #2486

JukkaL opened this issue Nov 24, 2016 · 0 comments · Fixed by #2526

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Nov 24, 2016

Support x['foo'] and x['foo'] = value if x is a TypedDict object. Only string literal keys are supported.

In Python 2 mode, we probably want to support unicode literal keys, especially for modules using unicode_literals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant