Skip to content

Getting and setting items of TypedDict #2486

Closed
@JukkaL

Description

@JukkaL

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions