commit | 54ba5f19d4a654768c785468d736ed0bd05947f5 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Tue Sep 17 11:41:55 2019 -0700 |
committer | GitHub <noreply@github.com> | Tue Sep 17 11:41:55 2019 -0700 |
tree | 91404a699de636e75ba058fcad324b15ce64cdb6 | |
parent | 3c1786f18b1542e71454f37e3f3ca1ef3eec0e5f [diff] |
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>