Skip to content

Backport python/cpython#16222 #677

Description

@gvanrossum

In python/cpython#16222, Serhiy fixed the constructors for TypedDict and NamedTuple to use *args, **kwds so that the names of the positional arguments (e.g. self, typename and field in the case of NamedTuple) are not barred from being used as field names. Let's copy that fix here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions