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.
In python/cpython#16222, Serhiy fixed the constructors for TypedDict and NamedTuple to use
*args, **kwdsso that the names of the positional arguments (e.g.self,typenameandfieldin the case of NamedTuple) are not barred from being used as field names. Let's copy that fix here.