bpo-38191: Accept arbitrary keyword names in NamedTuple() and TypedDict(). (GH-16222)


This includes such names as "cls", "self", "typename", "_typename",
"fields" and "_fields".
Passing positional arguments by keyword is deprecated.
(cherry picked from commit 2bf31ccab3d17f3f35b42dca97f99576dfe2fc7d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 files changed