Skip to content

TypedDict extra_items=Never & closed equivalence #2394

Backlog

Description

@yangdanny97

#2338 (comment)

Joren mentions that there is some ambiguity about extra_items=Never and closed=True. In the spec they are explicitly stated to be equivalent, but extra_items=Never could also mean that only extra items of type Any are accepted.

Activity

  1. added
    topic: documentation
    on Nov 26, 2026
  2. added
    topic: typing spec
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: documentationtopic: typing spec

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions