Skip to content

TypedDict and del #3550

Closed
Closed
@JukkaL

Description

@JukkaL

Mypy disallows del td[key] for typed dicts. However, it should be okay to delete a key from typed dict if the key exists and it's not a required key. del with a non-literal key should always be rejected.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions